]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
authorTom Rix <trix@redhat.com>
Mon, 18 Jan 2021 21:19:55 +0000 (13:19 -0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 18 Jan 2021 21:28:59 +0000 (22:28 +0100)
commit5659b17ba73f42b099d0b9487a6259ee627f13f6
treedd4cd7027396c4f44629cd046774cf223c9d3ccd
parente526501f7f588333a3c7719d53f53e9448f488ac
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: 2a5eb0f0eb4b ("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
drivers/clocksource/mxs_timer.c