diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2019-09-04 22:26:00 +1000 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-09-21 09:51:55 -0500 |
commit | 0d8006ddbe89cbaedef06a8789ddefa1164a3a77 (patch) | |
tree | b50f2f9a9cb76b60cc90e878ec4df54cb020cf3a /drivers/rtc/rtc-max8998.c | |
parent | 46b2c32df7a462d0e64b68c513e5c4c1b2a399a7 (diff) | |
download | linux-0d8006ddbe89cbaedef06a8789ddefa1164a3a77.tar.gz |
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/20190904122600.GA28660@gondor.apana.org.au
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/rtc/rtc-max8998.c')
0 files changed, 0 insertions, 0 deletions