Commit 36e42a323cf0de26bd819448b024d3851fc0d865

Authored by Axel Lin
Committed by Olof Johansson
1 parent dfac74d38e

irqchip: irq-bcm2835: Add terminating entry for of_device_id table

The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Olof Johansson <olof@lixom.net>

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

drivers/irqchip/irq-bcm2835.c
... ... @@ -168,7 +168,8 @@
168 168 }
169 169  
170 170 static struct of_device_id irq_of_match[] __initconst = {
171   - { .compatible = "brcm,bcm2835-armctrl-ic", .data = armctrl_of_init }
  171 + { .compatible = "brcm,bcm2835-armctrl-ic", .data = armctrl_of_init },
  172 + { }
172 173 };
173 174  
174 175 void __init bcm2835_init_irq(void)