irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/irqchip/irq-sunxi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/irqchip/irq-sunxi.c +2 -1
@@ -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 )
Signature · 1 line
1.7.9.5
Maxime Ripard
AppliedQuoted 1 line · Axel Lin
The
of_device_idtable is supposed to be zero-terminated.
Applied, thanks.
Signature · 4 lines
Maxime Ripard, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com