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

irqchip/qcom-irq-combiner: Fix section mismatch



Platform drivers can be probed after their init sections have been
discarded so the probe callback must not live in init.

Fixes: f20cc9b0 ("irqchip/qcom: Add IRQ combiner driver")
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f798bdb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ static int get_registers(struct platform_device *pdev, struct combiner *comb)
	return 0;
}

static int __init combiner_probe(struct platform_device *pdev)
static int combiner_probe(struct platform_device *pdev)
{
	struct combiner *combiner;
	int nregs;