diff options
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 22dcfdb75d91..45833a5bca61 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -138,6 +138,12 @@ extern int pcie_mch_quirk; | |||
138 | extern struct device_attribute pci_dev_attrs[]; | 138 | extern struct device_attribute pci_dev_attrs[]; |
139 | extern struct device_attribute dev_attr_cpuaffinity; | 139 | extern struct device_attribute dev_attr_cpuaffinity; |
140 | extern struct device_attribute dev_attr_cpulistaffinity; | 140 | extern struct device_attribute dev_attr_cpulistaffinity; |
141 | #ifdef CONFIG_HOTPLUG | ||
142 | extern struct bus_attribute pci_bus_attrs[]; | ||
143 | #else | ||
144 | #define pci_bus_attrs NULL | ||
145 | #endif | ||
146 | |||
141 | 147 | ||
142 | /** | 148 | /** |
143 | * pci_match_one_device - Tell if a PCI device structure has a matching | 149 | * pci_match_one_device - Tell if a PCI device structure has a matching |