diff options
Diffstat (limited to 'drivers/clocksource/sh_tmu.c')
-rw-r--r-- | drivers/clocksource/sh_tmu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index 93c2322feab7..961f5b5ef6a3 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c | |||
@@ -323,15 +323,15 @@ static void sh_tmu_register_clockevent(struct sh_tmu_priv *p, | |||
323 | ced->set_next_event = sh_tmu_clock_event_next; | 323 | ced->set_next_event = sh_tmu_clock_event_next; |
324 | ced->set_mode = sh_tmu_clock_event_mode; | 324 | ced->set_mode = sh_tmu_clock_event_mode; |
325 | 325 | ||
326 | pr_info("sh_tmu: %s used for clock events\n", ced->name); | ||
327 | clockevents_register_device(ced); | ||
328 | |||
326 | ret = setup_irq(p->irqaction.irq, &p->irqaction); | 329 | ret = setup_irq(p->irqaction.irq, &p->irqaction); |
327 | if (ret) { | 330 | if (ret) { |
328 | pr_err("sh_tmu: failed to request irq %d\n", | 331 | pr_err("sh_tmu: failed to request irq %d\n", |
329 | p->irqaction.irq); | 332 | p->irqaction.irq); |
330 | return; | 333 | return; |
331 | } | 334 | } |
332 | |||
333 | pr_info("sh_tmu: %s used for clock events\n", ced->name); | ||
334 | clockevents_register_device(ced); | ||
335 | } | 335 | } |
336 | 336 | ||
337 | static int sh_tmu_register(struct sh_tmu_priv *p, char *name, | 337 | static int sh_tmu_register(struct sh_tmu_priv *p, char *name, |