summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-02 23:08:19 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2012-12-03 21:16:59 +0100
commit3703af46fcc330d72b9b0165a2a6988833e9df4e (patch)
tree37362c8f8a04faa6931f53cb61cc50dc7a64361e /drivers/clocksource
parent67bea88dd842deb3ed8327ad101970dbd615ddcb (diff)
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 <axel.lin@ingics.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/sunxi_timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/sunxi_timer.c b/drivers/clocksource/sunxi_timer.c
index 3c46434b64c..3cd1bd3d7ae 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)