platform-msi: Export symbol platform_msi_create_irq_domain()
authorFrank Li <Frank.Li@nxp.com>
Thu, 22 Sep 2022 16:12:41 +0000 (11:12 -0500)
committerMarc Zyngier <maz@kernel.org>
Wed, 28 Sep 2022 13:21:05 +0000 (14:21 +0100)
Allow irqchip drivers using platform MSI to be built as modules.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
[maz: rewrote commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220922161246.20586-2-Frank.Li@nxp.com
drivers/base/platform-msi.c

index 296ea67..12b0441 100644 (file)
@@ -138,6 +138,7 @@ struct irq_domain *platform_msi_create_irq_domain(struct fwnode_handle *fwnode,
 
        return domain;
 }
+EXPORT_SYMBOL_GPL(platform_msi_create_irq_domain);
 
 static int platform_msi_alloc_priv_data(struct device *dev, unsigned int nvec,
                                        irq_write_msi_msg_t write_msi_msg)