| From d3740d6858edb9275e06386e7868f536982361a8 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Mon, 13 Oct 2025 11:46:09 +0200 |
| Subject: irqchip/qcom-irq-combiner: Fix section mismatch |
| |
| From: Johan Hovold <johan@kernel.org> |
| |
| [ Upstream commit 9b685058ca936752285c5520d351b828312ac965 ] |
| |
| 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> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/irqchip/qcom-irq-combiner.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/drivers/irqchip/qcom-irq-combiner.c b/drivers/irqchip/qcom-irq-combiner.c |
| index 18e696dc7f4d6..9308088773be7 100644 |
| --- a/drivers/irqchip/qcom-irq-combiner.c |
| +++ b/drivers/irqchip/qcom-irq-combiner.c |
| @@ -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; |
| -- |
| 2.51.0 |
| |