Commit ff33657288bf1e62078bc97b87c358f5a1f15844

Authored by Axel Lin
Committed by Maxime Ripard
1 parent 3703af46fc

irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids

The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

drivers/irqchip/irq-sunxi.c
... ... @@ -129,7 +129,8 @@
129 129 }
130 130  
131 131 static struct of_device_id sunxi_irq_dt_ids[] __initconst = {
132   - { .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init }
  132 + { .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init },
  133 + { }
133 134 };
134 135  
135 136 void __init sunxi_init_irq(void)