diff options
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 0c3a29444f89..16f48e7506ed 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -1271,8 +1271,12 @@ enum pci_fixup_pass { | |||
1271 | DECLARE_PCI_FIXUP_SECTION(.pci_fixup_suspend, \ | 1271 | DECLARE_PCI_FIXUP_SECTION(.pci_fixup_suspend, \ |
1272 | suspend##vendor##device##hook, vendor, device, hook) | 1272 | suspend##vendor##device##hook, vendor, device, hook) |
1273 | 1273 | ||
1274 | 1274 | #ifdef CONFIG_PCI_QUIRKS | |
1275 | void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev); | 1275 | void pci_fixup_device(enum pci_fixup_pass pass, struct pci_dev *dev); |
1276 | #else | ||
1277 | static inline void pci_fixup_device(enum pci_fixup_pass pass, | ||
1278 | struct pci_dev *dev) {} | ||
1279 | #endif | ||
1276 | 1280 | ||
1277 | void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen); | 1281 | void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen); |
1278 | void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr); | 1282 | void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr); |