]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PCI: Add missing include to drivers/pci.h
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Wed, 28 Nov 2018 22:28:04 +0000 (16:28 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Dec 2018 20:55:41 +0000 (14:55 -0600)
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>
drivers/pci/pci.h

index 662b7457db2374d9c7fd039d2e40a54cfda5dc5b..224d886341158ba55494da1c766a933b0cfaeefc 100644 (file)
@@ -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 */