diff options
Diffstat (limited to 'backport/backport-include/linux/pci.h')
-rw-r--r-- | backport/backport-include/linux/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backport/backport-include/linux/pci.h b/backport/backport-include/linux/pci.h index 9eeb09be..e438f143 100644 --- a/backport/backport-include/linux/pci.h +++ b/backport/backport-include/linux/pci.h @@ -245,6 +245,7 @@ static inline int pci_enable_msi_range(struct pci_dev *dev, int minvec, #endif #endif +#ifdef CONFIG_PCI #if LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0) #define pci_enable_msix_range LINUX_BACKPORT(pci_enable_msix_range) #ifdef CONFIG_PCI_MSI @@ -256,5 +257,6 @@ static inline int pci_enable_msix_range(struct pci_dev *dev, { return -ENOSYS; } #endif #endif +#endif #endif /* _BACKPORT_LINUX_PCI_H */ |