From: Axel Lin Date: Sun, 2 Dec 2012 15:08:19 +0000 (+0800) Subject: clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=3703af46fcc330d72b9b0165a2a6988833e9df4e;p=deliverable%2Flinux.git 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 Signed-off-by: Maxime Ripard --- diff --git a/drivers/clocksource/sunxi_timer.c b/drivers/clocksource/sunxi_timer.c index 3c46434b64cb..3cd1bd3d7aee 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)