summaryrefslogtreecommitdiff
path: root/drivers/clocksource/zevio-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/zevio-timer.c')
-rw-r--r--drivers/clocksource/zevio-timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/zevio-timer.c b/drivers/clocksource/zevio-timer.c
index ceaa613..9a53f5e 100644
--- a/drivers/clocksource/zevio-timer.c
+++ b/drivers/clocksource/zevio-timer.c
@@ -210,9 +210,9 @@ error_free:
return ret;
}
-static void __init zevio_timer_init(struct device_node *node)
+static int __init zevio_timer_init(struct device_node *node)
{
- BUG_ON(zevio_timer_add(node));
+ return zevio_timer_add(node);
}
CLOCKSOURCE_OF_DECLARE(zevio_timer, "lsi,zevio-timer", zevio_timer_init);