mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +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: e4e5350361 ("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>
This commit is contained in:
parent
5b338fbb2b
commit
f798bdb9aa
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user