Skip to content

Commit 9b68505

Browse files
jhovoldKAGA-KOKO
authored andcommitted
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: f20cc9b ("irqchip/qcom: Add IRQ combiner driver") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent f798bdb commit 9b68505

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/irqchip/qcom-irq-combiner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ static int get_registers(struct platform_device *pdev, struct combiner *comb)
222222
return 0;
223223
}
224224

225-
static int __init combiner_probe(struct platform_device *pdev)
225+
static int combiner_probe(struct platform_device *pdev)
226226
{
227227
struct combiner *combiner;
228228
int nregs;

0 commit comments

Comments
 (0)