aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/sh_mtu2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/sh_mtu2.c')
-rw-r--r--drivers/clocksource/sh_mtu2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c
index ef02185a827a..d1ae75454d10 100644
--- a/drivers/clocksource/sh_mtu2.c
+++ b/drivers/clocksource/sh_mtu2.c
@@ -232,8 +232,8 @@ static void sh_mtu2_register_clockevent(struct sh_mtu2_priv *p,
232 clockevents_register_device(ced); 232 clockevents_register_device(ced);
233} 233}
234 234
235int sh_mtu2_register(struct sh_mtu2_priv *p, char *name, 235static int sh_mtu2_register(struct sh_mtu2_priv *p, char *name,
236 unsigned long clockevent_rating) 236 unsigned long clockevent_rating)
237{ 237{
238 if (clockevent_rating) 238 if (clockevent_rating)
239 sh_mtu2_register_clockevent(p, name, clockevent_rating); 239 sh_mtu2_register_clockevent(p, name, clockevent_rating);