summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-02 05:02:50 +0100
committerOlof Johansson <olof@lixom.net>2012-11-06 16:37:10 +0100
commit36e42a323cf0de26bd819448b024d3851fc0d865 (patch)
tree55bb8e52e61173d639e9c7411669076e94ddc0c8 /drivers/irqchip
parentMerge branch 'for-3.7/fixes-for-rc4' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadlinux-36e42a323cf0de26bd819448b024d3851fc0d865.tar.xz
linux-36e42a323cf0de26bd819448b024d3851fc0d865.zip
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)