aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/irqchip/irq-atmel-aic-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-atmel-aic-common.c b/drivers/irqchip/irq-atmel-aic-common.c
index fe177224ee71..831a195cb806 100644
--- a/drivers/irqchip/irq-atmel-aic-common.c
+++ b/drivers/irqchip/irq-atmel-aic-common.c
@@ -148,9 +148,9 @@ void __init aic_common_rtc_irq_fixup(struct device_node *root)
148 struct device_node *np; 148 struct device_node *np;
149 void __iomem *regs; 149 void __iomem *regs;
150 150
151 np = of_find_compatible_node(root, NULL, "atmel,at91rm9200-rtc"); 151 np = of_find_compatible_node(NULL, NULL, "atmel,at91rm9200-rtc");
152 if (!np) 152 if (!np)
153 np = of_find_compatible_node(root, NULL, 153 np = of_find_compatible_node(NULL, NULL,
154 "atmel,at91sam9x5-rtc"); 154 "atmel,at91sam9x5-rtc");
155 155
156 if (!np) 156 if (!np)