diff options
| author | Axel Lin <axel.lin@ingics.com> | 2012-12-02 09:40:24 -0500 |
|---|---|---|
| committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-12-03 15:17:00 -0500 |
| commit | ff33657288bf1e62078bc97b87c358f5a1f15844 (patch) | |
| tree | d5b80da88534f8e668495df461750350cadf84b7 | |
| parent | 3703af46fcc330d72b9b0165a2a6988833e9df4e (diff) | |
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 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, | |||
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | static struct of_device_id sunxi_irq_dt_ids[] __initconst = { | 131 | static struct of_device_id sunxi_irq_dt_ids[] __initconst = { |
| 132 | { .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init } | 132 | { .compatible = "allwinner,sunxi-ic", .data = sunxi_of_init }, |
| 133 | { } | ||
| 133 | }; | 134 | }; |
| 134 | 135 | ||
| 135 | void __init sunxi_init_irq(void) | 136 | void __init sunxi_init_irq(void) |
