diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-12-02 14:40:24 (GMT) |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-12-03 20:17:00 (GMT) |
commit | ff33657288bf1e62078bc97b87c358f5a1f15844 (patch) | |
tree | d5b80da88534f8e668495df461750350cadf84b7 | |
parent | 3703af46fcc330d72b9b0165a2a6988833e9df4e (diff) | |
download | linux-ff33657288bf1e62078bc97b87c358f5a1f15844.tar.xz |
irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids
The of_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r-- | drivers/irqchip/irq-sunxi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-sunxi.c b/drivers/irqchip/irq-sunxi.c index eef41a4..10974fa 100644 --- a/drivers/irqchip/irq-sunxi.c +++ b/drivers/irqchip/irq-sunxi.c @@ -129,7 +129,8 @@ static int __init sunxi_of_init(struct device_node *node, } static struct of_device_id sunxi_irq_dt_ids[] __initconst = { - { .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init } + { .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init }, + { } }; void __init sunxi_init_irq(void) |