aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/zevio-timer.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-04-26 01:32:16 -0400
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-04-29 09:06:43 -0400
commit9afa27ce9414c92e271b0d7eec937bd9f5565da5 (patch)
treef270a018adb884efd35f8323de37bbf18d601b73 /drivers/clocksource/zevio-timer.c
parent82a5619410d4c4df65c04272db198eca5a867c18 (diff)
clocksource: nspire: Fix compiler warning
CC drivers/clocksource/zevio-timer.o drivers/clocksource/zevio-timer.c:215:1: warning: comparison of distinct pointer types lacks a cast [enabled by default] Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/zevio-timer.c')
-rw-r--r--drivers/clocksource/zevio-timer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/clocksource/zevio-timer.c b/drivers/clocksource/zevio-timer.c
index ca81809d159d..7ce442148c3f 100644
--- a/drivers/clocksource/zevio-timer.c
+++ b/drivers/clocksource/zevio-timer.c
@@ -212,4 +212,9 @@ error_free:
212 return ret; 212 return ret;
213} 213}
214 214
215CLOCKSOURCE_OF_DECLARE(zevio_timer, "lsi,zevio-timer", zevio_timer_add); 215static void __init zevio_timer_init(struct device_node *node)
216{
217 BUG_ON(zevio_timer_add(node));
218}
219
220CLOCKSOURCE_OF_DECLARE(zevio_timer, "lsi,zevio-timer", zevio_timer_init);