clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids
authorAxel Lin <axel.lin@ingics.com>
Sun, 2 Dec 2012 15:08:19 +0000 (23:08 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 3 Dec 2012 20:16:59 +0000 (21:16 +0100)
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>
drivers/clocksource/sunxi_timer.c

index 3c46434..3cd1bd3 100644 (file)
@@ -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)