Commit 7da39069 authored by Tom Rix's avatar Tom Rix Committed by Daniel Lezcano
Browse files

clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined



When DEBUG is defined this error occurs

drivers/clocksource/mxs_timer.c:138:1: error:
  expected ‘;’ before ‘}’ token

The preceding statement needs a semicolon.
Replace pr_info() with pr_debug() and remove the unneeded ifdef.

Fixes: eb8703e2 ("clockevents/drivers/mxs: Migrate to new 'set-state' interface")
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210118211955.763609-1-trix@redhat.com
parent 2a97d553
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -131,10 +131,7 @@ static void mxs_irq_clear(char *state)

	/* Clear pending interrupt */
	timrot_irq_acknowledge();

#ifdef DEBUG
	pr_info("%s: changing mode to %s\n", __func__, state)
#endif /* DEBUG */
	pr_debug("%s: changing mode to %s\n", __func__, state);
}

static int mxs_shutdown(struct clock_event_device *evt)