aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-02 10:08:19 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2012-12-03 15:16:59 -0500
commit3703af46fcc330d72b9b0165a2a6988833e9df4e (patch)
tree37362c8f8a04faa6931f53cb61cc50dc7a64361e /drivers
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')
-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 = {
101 101
102static struct of_device_id sunxi_timer_dt_ids[] = { 102static struct of_device_id sunxi_timer_dt_ids[] = {
103 { .compatible = "allwinner,sunxi-timer" }, 103 { .compatible = "allwinner,sunxi-timer" },
104 { }
104}; 105};
105 106
106static void __init sunxi_timer_init(void) 107static void __init sunxi_timer_init(void)