diff options
Diffstat (limited to 'drivers/clocksource/sh_mtu2.c')
-rw-r--r-- | drivers/clocksource/sh_mtu2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c index 973e714d6051..4c8a759e60cd 100644 --- a/drivers/clocksource/sh_mtu2.c +++ b/drivers/clocksource/sh_mtu2.c | |||
@@ -221,15 +221,15 @@ static void sh_mtu2_register_clockevent(struct sh_mtu2_priv *p, | |||
221 | ced->cpumask = cpumask_of(0); | 221 | ced->cpumask = cpumask_of(0); |
222 | ced->set_mode = sh_mtu2_clock_event_mode; | 222 | ced->set_mode = sh_mtu2_clock_event_mode; |
223 | 223 | ||
224 | pr_info("sh_mtu2: %s used for clock events\n", ced->name); | ||
225 | clockevents_register_device(ced); | ||
226 | |||
224 | ret = setup_irq(p->irqaction.irq, &p->irqaction); | 227 | ret = setup_irq(p->irqaction.irq, &p->irqaction); |
225 | if (ret) { | 228 | if (ret) { |
226 | pr_err("sh_mtu2: failed to request irq %d\n", | 229 | pr_err("sh_mtu2: failed to request irq %d\n", |
227 | p->irqaction.irq); | 230 | p->irqaction.irq); |
228 | return; | 231 | return; |
229 | } | 232 | } |
230 | |||
231 | pr_info("sh_mtu2: %s used for clock events\n", ced->name); | ||
232 | clockevents_register_device(ced); | ||
233 | } | 233 | } |
234 | 234 | ||
235 | static int sh_mtu2_register(struct sh_mtu2_priv *p, char *name, | 235 | static int sh_mtu2_register(struct sh_mtu2_priv *p, char *name, |