summaryrefslogtreecommitdiff
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-02 08:02:50 +0400
committerOlof Johansson <olof@lixom.net>2012-11-06 19:37:10 +0400
commit36e42a323cf0de26bd819448b024d3851fc0d865 (patch)
tree55bb8e52e61173d639e9c7411669076e94ddc0c8 /drivers/irqchip
parentdfac74d38ec45bbdb80979ec966e1e703554c864 (diff)
downloadlinux-36e42a323cf0de26bd819448b024d3851fc0d865.tar.xz
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>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-bcm2835.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-bcm2835.c b/drivers/irqchip/irq-bcm2835.c
index dc670ccc6978..16c78f1c5ef2 100644
--- a/drivers/irqchip/irq-bcm2835.c
+++ b/drivers/irqchip/irq-bcm2835.c
@@ -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)