From patchwork Wed Nov 28 22:28:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Alex G." X-Patchwork-Id: 10703517 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 84734109C for ; Wed, 28 Nov 2018 22:28:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76701287DB for ; Wed, 28 Nov 2018 22:28:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 695012B5DC; Wed, 28 Nov 2018 22:28:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FB43287DB for ; Wed, 28 Nov 2018 22:28:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726655AbeK2Jb3 (ORCPT ); Thu, 29 Nov 2018 04:31:29 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:44476 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726611AbeK2Jb3 (ORCPT ); Thu, 29 Nov 2018 04:31:29 -0500 Received: by mail-oi1-f196.google.com with SMTP id m6so12399507oig.11; Wed, 28 Nov 2018 14:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=CA5R2uOTiCP82fw7b7krqe/pA+fj/N+hG4Zg4SgyYns=; b=ix8j8D8UssozGlxl/9SIy2rDa43Kaiut/c+xm9qELu+Y2OCJcBLu+606VvsKVZsPtx RW5iwn2uQks+h2x2iB9HdsgFM99HAiZVSegNQ0A3PDMYsG0gA1/qqwCNMg1BxSfTE71X i4O7oUVWnhMRo0FvjufLy4WhenozOZ3L4JLlQX9PxLj1kjtxK5eIoizm1/dzlVWsyz7z kNCQ3ikqnlwEQ0ochx+3b51fv3bvhTG41cZdr43t4Y9hgI2MjJ7+tYDc1IMGVwKHUY96 jok1yKRLbFvYfGYUvyWoENAqgsPMwCFOAbD/smxihIcB92i0L+oWWT/4DmKukiYJGhV8 vPDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CA5R2uOTiCP82fw7b7krqe/pA+fj/N+hG4Zg4SgyYns=; b=fRwzwti7VSqRucDh0lXAxHSfcDdAwCBmPqrsatteFxZZ5R4Ab/gb+Zc8RgiE2vopO0 MwK3v03TPCUJXRwfnuPYJcsSLFCERejvEj9DPfkr2ezMeT8KZWGH38Lp3oulLkhwNaG1 b743uIOOAzaLEigCfSOonFcdBZ3wK53JMK6qppwJ1YDaBnDzO38kZmkLWPW1xf/QUVsb DaR5GYYR8Fhe+hI88mhixAxvcPMRx60u19ynXHvzznEWDUT7/VhnY7RBUz/KOAv8ckpX vIDGfKEryZrz9yKP7ENEBnVofQOFDS18HwElGNrQ2cA1dhWxrKhMnoRTjxzVTxi0xYXM U2qw== X-Gm-Message-State: AA+aEWbTq+jqksOk7az2XW/eqCu8Tn4H6/pHfyBvBwVs6iP9ucGT3Hs6 8lhCpHfgWestf2tLkLfQgk4= X-Google-Smtp-Source: AFSGD/XTQfYhKijlKZHtKYCFb/t2K4gBD8StCfYnWo4PUt5j+OXo/19jz3zdqfbQyfebqbcc0zt+OQ== X-Received: by 2002:aca:df02:: with SMTP id w2mr11859475oig.77.1543444099198; Wed, 28 Nov 2018 14:28:19 -0800 (PST) Received: from nuclearis2-1.lan (c-98-195-139-126.hsd1.tx.comcast.net. [98.195.139.126]) by smtp.gmail.com with ESMTPSA id 18sm3012302otf.59.2018.11.28.14.28.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Nov 2018 14:28:18 -0800 (PST) From: Alexandru Gagniuc To: bhelgaas@google.com Cc: austin_bolen@dell.com, alex_gagniuc@dellteam.com, keith.busch@intel.com, Shyam_Iyer@Dell.com, lukas@wunner.de, Alexandru Gagniuc , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI: Add missing include to drivers/pci.h Date: Wed, 28 Nov 2018 16:28:04 -0600 Message-Id: <20181128222805.12637-1-mr.nuke.me@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This files makes use of definitions provided in . This only compiles when is included beforehand, and creates a nasty include dependency. Instead, just include the correct file. Signed-off-by: Alexandru Gagniuc --- drivers/pci/pci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 662b7457db23..224d88634115 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -2,6 +2,8 @@ #ifndef DRIVERS_PCI_H #define DRIVERS_PCI_H +#include + #define PCI_FIND_CAP_TTL 48 #define PCI_VSEC_ID_INTEL_TBT 0x1234 /* Thunderbolt */