diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pci.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 6fd47654ca4e..eae97a2bf603 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -791,6 +791,15 @@ extern void msi_remove_pci_irq_vectors(struct pci_dev *dev); | |||
791 | extern void pci_restore_msi_state(struct pci_dev *dev); | 791 | extern void pci_restore_msi_state(struct pci_dev *dev); |
792 | #endif | 792 | #endif |
793 | 793 | ||
794 | #ifndef CONFIG_PCIEASPM | ||
795 | static inline int pcie_aspm_enabled(void) | ||
796 | { | ||
797 | return 0; | ||
798 | } | ||
799 | #else | ||
800 | extern int pcie_aspm_enabled(void); | ||
801 | #endif | ||
802 | |||
794 | #ifdef CONFIG_HT_IRQ | 803 | #ifdef CONFIG_HT_IRQ |
795 | /* The functions a driver should call */ | 804 | /* The functions a driver should call */ |
796 | int ht_create_irq(struct pci_dev *dev, int idx); | 805 | int ht_create_irq(struct pci_dev *dev, int idx); |