summaryrefslogtreecommitdiff
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-02 18:40:24 +0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2012-12-04 00:17:00 +0400
commitff33657288bf1e62078bc97b87c358f5a1f15844 (patch)
treed5b80da88534f8e668495df461750350cadf84b7 /drivers/irqchip
parent3703af46fcc330d72b9b0165a2a6988833e9df4e (diff)
downloadlinux-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>
Diffstat (limited to 'drivers/irqchip')
-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 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)