aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/pci.h5
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);
993extern int pci_msi_enabled(void); 993extern int pci_msi_enabled(void);
994#endif 994#endif
995 995
996#ifdef CONFIG_PCIEPORTBUS
996extern bool pcie_ports_disabled; 997extern bool pcie_ports_disabled;
997extern bool pcie_ports_auto; 998extern 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
1000static inline int pcie_aspm_enabled(void) 1005static inline int pcie_aspm_enabled(void)