path: root/drivers/clocksource
diff options
authorTom Rix <>2021-01-18 13:19:55 -0800
committerDaniel Lezcano <>2021-01-18 22:28:59 +0100
commit7da390694afbaed8e0f05717a541dfaf1077ba51 (patch)
treedd4cd7027396c4f44629cd046774cf223c9d3ccd /drivers/clocksource
parent2a97d55333e4299f32c98cca6dc5c4db1c5855fc (diff)
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: eb8703e2ef7c ("clockevents/drivers/mxs: Migrate to new 'set-state' interface") Signed-off-by: Tom Rix <> Signed-off-by: Daniel Lezcano <> Link:
Diffstat (limited to 'drivers/clocksource')
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/clocksource/mxs_timer.c b/drivers/clocksource/mxs_timer.c
index bc96a4cbf26c..e52e12d27d2a 100644
--- a/drivers/clocksource/mxs_timer.c
+++ b/drivers/clocksource/mxs_timer.c
@@ -131,10 +131,7 @@ static void mxs_irq_clear(char *state)
/* Clear pending interrupt */
-#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)