aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-02 22:40:24 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2012-12-03 21:17:00 +0100
commitff33657288bf1e62078bc97b87c358f5a1f15844 (patch)
treed5b80da88534f8e668495df461750350cadf84b7 /drivers
parent3703af46fcc330d72b9b0165a2a6988833e9df4e (diff)
downloadkernel_goldelico_gta04-ff33657288bf1e62078bc97b87c358f5a1f15844.zip
kernel_goldelico_gta04-ff33657288bf1e62078bc97b87c358f5a1f15844.tar.gz
kernel_goldelico_gta04-ff33657288bf1e62078bc97b87c358f5a1f15844.tar.bz2
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')
-rw-r--r--drivers/irqchip/irq-sunxi.c3
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)