Skip to content

Commit 2209e06

Browse files
mrnukebjorn-helgaas
authored andcommitted
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>
1 parent 7cb3026 commit 2209e06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/pci/pci.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#ifndef DRIVERS_PCI_H
33
#define DRIVERS_PCI_H
44

5+
#include <linux/pci.h>
6+
57
#define PCI_FIND_CAP_TTL 48
68

79
#define PCI_VSEC_ID_INTEL_TBT 0x1234 /* Thunderbolt */

0 commit comments

Comments
 (0)