Commit a8452d1d authored by Johan Hovold's avatar Johan Hovold Committed by Thomas Gleixner
Browse files

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: 32c6c054 ("irqchip: Add Broadcom BCM2712 MSI-X interrupt controller")
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
parent 0435bcc4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ static int mip_parse_dt(struct mip_priv *mip, struct device_node *np)
	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;