提交 9afa27ce 编写于 作者: A Alexander Shiyan 提交者: Daniel Lezcano

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: NAlexander Shiyan <shc_work@mail.ru>
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
上级 82a56194
...@@ -212,4 +212,9 @@ static int __init zevio_timer_add(struct device_node *node) ...@@ -212,4 +212,9 @@ static int __init zevio_timer_add(struct device_node *node)
return ret; return ret;
} }
CLOCKSOURCE_OF_DECLARE(zevio_timer, "lsi,zevio-timer", zevio_timer_add); static void __init zevio_timer_init(struct device_node *node)
{
BUG_ON(zevio_timer_add(node));
}
CLOCKSOURCE_OF_DECLARE(zevio_timer, "lsi,zevio-timer", zevio_timer_init);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册