@@ -323,6 +323,10 @@ static inline struct irq_domain *pci_msi_get_device_domain(struct pci_dev *pdev)
{
return NULL;
}
+static struct msi_domain_info *msi_get_domain_info(struct irq_domain *domain)
+{
+ return NULL;
+}
#endif /* CONFIG_PCI_MSI_IRQ_DOMAIN */
#endif /* LINUX_MSI_H */
@@ -400,5 +400,6 @@ struct msi_domain_info *msi_get_domain_info(struct irq_domain *domain)
{
return (struct msi_domain_info *)domain->host_data;
}
+EXPORT_SYMBOL_GPL(msi_get_domain_info);
#endif /* CONFIG_GENERIC_MSI_IRQ_DOMAIN */
We plan to use msi_get_domain_info in VFIO module so let's export it. Signed-off-by: Eric Auger <eric.auger@linaro.org> --- include/linux/msi.h | 4 ++++ kernel/irq/msi.c | 1 + 2 files changed, 5 insertions(+) -- 1.9.1