Skip to content

Commit f8b64af

Browse files
Tom Rixgregkh
authored andcommitted
clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
[ Upstream commit 7da3906 ] 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: eb8703e ("clockevents/drivers/mxs: Migrate to new 'set-state' interface") Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20210118211955.763609-1-trix@redhat.com Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 9f5c559 commit f8b64af

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎drivers/clocksource/mxs_timer.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,7 @@ static void mxs_irq_clear(char *state)
131131

132132
/* Clear pending interrupt */
133133
timrot_irq_acknowledge();
134-
135-
#ifdef DEBUG
136-
pr_info("%s: changing mode to %s\n", __func__, state)
137-
#endif /* DEBUG */
134+
pr_debug("%s: changing mode to %s\n", __func__, state);
138135
}
139136

140137
static int mxs_shutdown(struct clock_event_device *evt)

0 commit comments

Comments
 (0)