[PATCH] clocksource: sunxi_timer: Add terminating entry forsunxi_timer_dt_ids

From: Axel Lin
Date: Sun Dec 02 2012 - 10:16:29 EST


The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
---
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/