summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-02 19:08:19 +0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2012-12-04 00:16:59 +0400
commit3703af46fcc330d72b9b0165a2a6988833e9df4e (patch)
tree37362c8f8a04faa6931f53cb61cc50dc7a64361e /drivers/clocksource
parent67bea88dd842deb3ed8327ad101970dbd615ddcb (diff)
downloadlinux-3703af46fcc330d72b9b0165a2a6988833e9df4e.tar.xz
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 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)