diff options
-rw-r--r-- | include/linux/pci.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 9e67dcd054c4..559d02897075 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -993,8 +993,13 @@ extern void pci_restore_msi_state(struct pci_dev *dev); | |||
993 | extern int pci_msi_enabled(void); | 993 | extern int pci_msi_enabled(void); |
994 | #endif | 994 | #endif |
995 | 995 | ||
996 | #ifdef CONFIG_PCIEPORTBUS | ||
996 | extern bool pcie_ports_disabled; | 997 | extern bool pcie_ports_disabled; |
997 | extern bool pcie_ports_auto; | 998 | extern bool pcie_ports_auto; |
999 | #else | ||
1000 | #define pcie_ports_disabled true | ||
1001 | #define pcie_ports_auto false | ||
1002 | #endif | ||
998 | 1003 | ||
999 | #ifndef CONFIG_PCIEASPM | 1004 | #ifndef CONFIG_PCIEASPM |
1000 | static inline int pcie_aspm_enabled(void) | 1005 | static inline int pcie_aspm_enabled(void) |