summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-11-01 22:02:50 -0600
committerOlof Johansson <olof@lixom.net>2012-11-06 07:37:10 -0800
commit36e42a323cf0de26bd819448b024d3851fc0d865 (patch)
tree55bb8e52e61173d639e9c7411669076e94ddc0c8
parentdfac74d38ec45bbdb80979ec966e1e703554c864 (diff)
downloadop-kernel-dev-36e42a323cf0de26bd819448b024d3851fc0d865.zip
op-kernel-dev-36e42a323cf0de26bd819448b024d3851fc0d865.tar.gz
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>
-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 dc670cc..16c78f1 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)
OpenPOWER on IntegriCloud