aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2018-11-28 16:28:04 -0600
committerBjorn Helgaas <bhelgaas@google.com>2018-12-06 14:55:41 -0600
commit2209e06f8a85c14a0670d7658f43a0e90151f197 (patch)
treebcdd07ea79500e7a2b63f21ed2ca01240d5190eb /drivers/pci/pci.h
parentPCI: Remove unnecessary space before function pointer arguments (diff)
downloadlinux-dev-2209e06f8a85c14a0670d7658f43a0e90151f197.tar.xz
linux-dev-2209e06f8a85c14a0670d7658f43a0e90151f197.zip
PCI: Add missing include to drivers/pci.h
This file makes use of definitions provided in <linux/pci.h>. This only compiles when <linux/pci.h> is included beforehand, and creates a nasty include dependency. Instead, just include the correct file. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r--drivers/pci/pci.h2
1 files changed, 2 insertions, 0 deletions
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 <linux/pci.h>
+
#define PCI_FIND_CAP_TTL 48
#define PCI_VSEC_ID_INTEL_TBT 0x1234 /* Thunderbolt */