forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 625f269 ("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]>
- Loading branch information
1 parent
46b2c32
commit 0d8006d
Showing
1 changed file
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters