diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-12-02 10:08:19 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-12-03 15:16:59 -0500 |
commit | 3703af46fcc330d72b9b0165a2a6988833e9df4e (patch) | |
tree | 37362c8f8a04faa6931f53cb61cc50dc7a64361e /drivers | |
parent | 67bea88dd842deb3ed8327ad101970dbd615ddcb (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.c | 1 |
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 | ||
102 | static struct of_device_id sunxi_timer_dt_ids[] = { | 102 | static struct of_device_id sunxi_timer_dt_ids[] = { |
103 | { .compatible = "allwinner,sunxi-timer" }, | 103 | { .compatible = "allwinner,sunxi-timer" }, |
104 | { } | ||
104 | }; | 105 | }; |
105 | 106 | ||
106 | static void __init sunxi_timer_init(void) | 107 | static void __init sunxi_timer_init(void) |