summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-10-13 12:46:02 +0300
committerThomas Gleixner <tglx@linutronix.de>2025-10-16 12:30:37 +0300
commita8452d1d59d46066051e676d5daa472cd08cb304 (patch)
tree5d2b1a38da5bcc7c53b8bb4587324c12f340c788
parent0435bcc4e5858c632c1b6d5afa637580d9779890 (diff)
downloadlinux-a8452d1d59d46066051e676d5daa472cd08cb304.tar.xz
irqchip/bcm2712-mip: Fix section mismatch
Platform drivers can be probed after their init sections have been discarded so the irqchip init callback must not live in init. Fixes: 32c6c054661a ("irqchip: Add Broadcom BCM2712 MSI-X interrupt controller") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
-rw-r--r--drivers/irqchip/irq-bcm2712-mip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-bcm2712-mip.c b/drivers/irqchip/irq-bcm2712-mip.c
index 256c2d59f717..8466646e5a2d 100644
--- a/drivers/irqchip/irq-bcm2712-mip.c
+++ b/drivers/irqchip/irq-bcm2712-mip.c
@@ -232,7 +232,7 @@ err_put:
return ret;
}
-static int __init mip_of_msi_init(struct device_node *node, struct device_node *parent)
+static int mip_of_msi_init(struct device_node *node, struct device_node *parent)
{
struct platform_device *pdev;
struct mip_priv *mip;