]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
irqchip/qcom-irq-combiner: Fix section mismatch
authorJohan Hovold <johan@kernel.org>
Mon, 13 Oct 2025 09:46:09 +0000 (11:46 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Oct 2025 09:30:38 +0000 (11:30 +0200)
Platform drivers can be probed after their init sections have been
discarded so the probe callback must not live in init.

Fixes: f20cc9b00c7b ("irqchip/qcom: Add IRQ combiner driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/qcom-irq-combiner.c

index 18e696dc7f4d64f4425055fc2f701eb21673066b..9308088773be7f97f0ee1db29e20fc1273d6fdee 100644 (file)
@@ -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;