irqchip: irq-bcm2835: Add terminating entry for of_device_id table
authorAxel Lin <axel.lin@ingics.com>
Fri, 2 Nov 2012 04:02:50 +0000 (22:02 -0600)
committerOlof Johansson <olof@lixom.net>
Tue, 6 Nov 2012 15:37:10 +0000 (07:37 -0800)
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>
drivers/irqchip/irq-bcm2835.c

index dc670ccc6978614330a85fa4138c0df47febcfba..16c78f1c5ef25ad4121b1ee7e2b7fab30cedce95 100644 (file)
@@ -168,7 +168,8 @@ static int __init armctrl_of_init(struct device_node *node,
 }
 
 static struct of_device_id irq_of_match[] __initconst = {
-       { .compatible = "brcm,bcm2835-armctrl-ic", .data = armctrl_of_init }
+       { .compatible = "brcm,bcm2835-armctrl-ic", .data = armctrl_of_init },
+       { }
 };
 
 void __init bcm2835_init_irq(void)