diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-12-02 22:40:24 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-12-03 21:17:00 +0100 |
commit | ff33657288bf1e62078bc97b87c358f5a1f15844 (patch) | |
tree | d5b80da88534f8e668495df461750350cadf84b7 /drivers/irqchip | |
parent | 3703af46fcc330d72b9b0165a2a6988833e9df4e (diff) | |
download | linux-ff33657288bf1e62078bc97b87c358f5a1f15844.tar.gz linux-ff33657288bf1e62078bc97b87c358f5a1f15844.tar.bz2 linux-ff33657288bf1e62078bc97b87c358f5a1f15844.zip |
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>
Diffstat (limited to 'drivers/irqchip')
-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 eef41a49acae..10974fa42653 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) |