clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids
PATCH 1/1 clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids
The of_device_id table is supposed to be zero-terminated.
Signed-off-by Axel Lin <[email protected]>
--- drivers/clocksource/sunxi_timer.c | 1 + 1 file changed, 1 insertion(+)
drivers/clocksource/sunxi_timer.c +1 -0
@@ -101,6 +101,7 @@ static struct irqaction sunxi_timer_irq = {static struct of_device_id sunxi_timer_dt_ids[] = { { .compatible ="allwinner,sunxi-timer" }, + { } };static void __init sunxi_timer_init (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