]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
irqchip/bcm2712-mip: Fix section mismatch
authorJohan Hovold <johan@kernel.org>
Mon, 13 Oct 2025 09:46:02 +0000 (11:46 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Oct 2025 09:30:37 +0000 (11:30 +0200)
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>
drivers/irqchip/irq-bcm2712-mip.c

index 256c2d59f717d8f0d3a0cc050f2eb7034abbc435..8466646e5a2da0119e8dc449f06fb88f683ea4be 100644 (file)
@@ -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;