]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
irqchip/starfive-jh8100: Fix section mismatch
authorJohan Hovold <johan@kernel.org>
Mon, 13 Oct 2025 09:46:08 +0000 (11:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:31 +0000 (14:02 +0100)
commitd4caa2df1f0812fe6c7eb8029ee3d62b7978e578
tree4dc8b89c35aca37c01efd4b999943f3ce8bd291e
parent3f1ac747652fe2ce067d243f5410e21b4b425326
irqchip/starfive-jh8100: Fix section mismatch

[ Upstream commit f798bdb9aa81c425184f92e3d0b44d3b53d10da7 ]

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@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/irqchip/irq-starfive-jh8100-intc.c