The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel....@ingics.com>
---
 drivers/clocksource/sunxi_timer.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/sunxi_timer.c 
b/drivers/clocksource/sunxi_timer.c
index 3c46434..3cd1bd3 100644
--- a/drivers/clocksource/sunxi_timer.c
+++ b/drivers/clocksource/sunxi_timer.c
@@ -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)
-- 
1.7.9.5



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to