summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-mtk-sysirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/irqchip/irq-mtk-sysirq.c')
-rw-r--r--drivers/irqchip/irq-mtk-sysirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-mtk-sysirq.c b/drivers/irqchip/irq-mtk-sysirq.c
index c8753da4c156..b07216688cd9 100644
--- a/drivers/irqchip/irq-mtk-sysirq.c
+++ b/drivers/irqchip/irq-mtk-sysirq.c
@@ -106,7 +106,7 @@ static int mtk_sysirq_domain_alloc(struct irq_domain *domain, unsigned int virq,
&mtk_sysirq_chip,
domain->host_data);
- gic_data.np = domain->parent->of_node;
+ gic_data.np = irq_domain_get_of_node(domain->parent);
return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &gic_data);
}