PCI/MSI: Provide stubs for IMS functions
authorReinette Chatre <reinette.chatre@intel.com>
Tue, 17 Oct 2023 17:56:38 +0000 (10:56 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 17 Oct 2023 19:46:33 +0000 (21:46 +0200)
commit41efa431244f6498833ff8ee8dde28c4924c5479
treea2ceac7744875bbb9e57912007dd185ebd7a2ddd
parentf881feb180fd0563809b62faa3f7da234e81d42b
PCI/MSI: Provide stubs for IMS functions

The IMS related functions (pci_create_ims_domain(), pci_ims_alloc_irq(),
and pci_ims_free_irq()) are not declared when CONFIG_PCI_MSI is disabled.

Provide definitions of these functions for use when callers are compiled
with CONFIG_PCI_MSI disabled.

Fixes: 0194425af0c8 ("PCI/MSI: Provide IMS (Interrupt Message Store) support")
Fixes: c9e5bea27383 ("PCI/MSI: Provide pci_ims_alloc/free_irq()")
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/14ff656899a3757453f8584c1109d7a9b98fa258.1697564731.git.reinette.chatre@intel.com
include/linux/pci.h