[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176060829544.709179.10444851952024536944.tip-bot2@tip-bot2>
Date: Thu, 16 Oct 2025 09:51:35 -0000
From: "tip-bot2 for Johan Hovold" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Johan Hovold <johan@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
Changhuang Liang <changhuang.liang@...rfivetech.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: irq/drivers] irqchip/starfive-jh8100: Fix section mismatch
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: f798bdb9aa81c425184f92e3d0b44d3b53d10da7
Gitweb: https://git.kernel.org/tip/f798bdb9aa81c425184f92e3d0b44d3b53d10da7
Author: Johan Hovold <johan@...nel.org>
AuthorDate: Mon, 13 Oct 2025 11:46:08 +02:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Thu, 16 Oct 2025 11:30:38 +02:00
irqchip/starfive-jh8100: 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: e4e535036173 ("irqchip: Add StarFive external interrupt controller")
Signed-off-by: Johan Hovold <johan@...nel.org>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Reviewed-by: Changhuang Liang <changhuang.liang@...rfivetech.com>
---
drivers/irqchip/irq-starfive-jh8100-intc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/irqchip/irq-starfive-jh8100-intc.c b/drivers/irqchip/irq-starfive-jh8100-intc.c
index 2460798..117f2c6 100644
--- a/drivers/irqchip/irq-starfive-jh8100-intc.c
+++ b/drivers/irqchip/irq-starfive-jh8100-intc.c
@@ -114,8 +114,7 @@ static void starfive_intc_irq_handler(struct irq_desc *desc)
chained_irq_exit(chip, desc);
}
-static int __init starfive_intc_init(struct device_node *intc,
- struct device_node *parent)
+static int starfive_intc_init(struct device_node *intc, struct device_node *parent)
{
struct starfive_irq_chip *irqc;
struct reset_control *rst;
Powered by blists - more mailing lists