Messages in this thread Patch in this message | | | Subject | [PATCH] irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids | From | Axel Lin <> | Date | Sun, 02 Dec 2012 22:40:24 +0800 |
| |
The of_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@ingics.com> --- drivers/irqchip/irq-sunxi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
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) -- 1.7.9.5
| |