diff options
Diffstat (limited to 'backport/compat/backport-4.8.c')
-rw-r--r-- | backport/compat/backport-4.8.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backport/compat/backport-4.8.c b/backport/compat/backport-4.8.c index e583c1ec..a53e39c9 100644 --- a/backport/compat/backport-4.8.c +++ b/backport/compat/backport-4.8.c @@ -146,6 +146,8 @@ next_desc: } EXPORT_SYMBOL_GPL(cdc_parse_cdc_header); +#ifdef CONFIG_PCI +#ifdef CONFIG_PCI_MSI int pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, unsigned int max_vecs, unsigned int flags) { @@ -167,3 +169,5 @@ int pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, return -ENOSPC; } EXPORT_SYMBOL_GPL(pci_alloc_irq_vectors); +#endif /* CONFIG_PCI_MSI */ +#endif /* CONFIG_PCI */ |