diff options
author | Herbert Xu <[email protected]> | 2019-09-04 22:26:00 +1000 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-09-21 09:51:55 -0500 |
commit | 0d8006ddbe89cbaedef06a8789ddefa1164a3a77 (patch) | |
tree | b50f2f9a9cb76b60cc90e878ec4df54cb020cf3a /fs/btrfs/dev-replace.c | |
parent | 46b2c32df7a462d0e64b68c513e5c4c1b2a399a7 (diff) |
PCI: Add pci_irq_vector() and other stubs when !CONFIG_PCI
Add stub functions pci_alloc_irq_vectors_affinity() and pci_irq_vector()
when CONFIG_PCI is off so drivers can use them without resorting to ifdefs.
Also move the PCI_IRQ_* macros outside of the ifdefs so they are always
available.
Fixes: 625f269a5a7a ("crypto: inside-secure - add support for PCI based FPGA development board")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: kbuild test robot <[email protected]>
Reported-by: YueHaibing <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions