Skip to content

Commit 3f5d7a5

Browse files
vlsunilPaul Walmsley
authored andcommitted
irqchip/irq-riscv-imsic-early: Export imsic_acpi_get_fwnode()
ACPI based loadable drivers which need MSIs will also need imsic_acpi_get_fwnode() to update the device MSI domain so export this function. Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Signed-off-by: Anup Patel <apatel@ventanamicro.com> Link: https://lore.kernel.org/r/20250818040920.272664-21-apatel@ventanamicro.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
1 parent bb96fb5 commit 3f5d7a5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/irqchip/irq-riscv-imsic-early.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#define pr_fmt(fmt) "riscv-imsic: " fmt
88
#include <linux/acpi.h>
99
#include <linux/cpu.h>
10+
#include <linux/export.h>
1011
#include <linux/interrupt.h>
1112
#include <linux/init.h>
1213
#include <linux/io.h>
@@ -233,6 +234,7 @@ struct fwnode_handle *imsic_acpi_get_fwnode(struct device *dev)
233234
{
234235
return imsic_acpi_fwnode;
235236
}
237+
EXPORT_SYMBOL_GPL(imsic_acpi_get_fwnode);
236238

237239
static int __init imsic_early_acpi_init(union acpi_subtable_headers *header,
238240
const unsigned long end)

0 commit comments

Comments
 (0)