Skip to content
Commit f5bd5fc9 authored by Peng Fan's avatar Peng Fan Committed by Daniel Lezcano
Browse files

clocksource/drivers/imx-sysctr: Mark two variable with __ro_after_init



The variables 'sys_ctr_base' and 'cmpcr' are not be updated after
init, so mark them as __ro_after_init.

Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20211201125030.2307746-1-peng.fan@oss.nxp.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent a2807f65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment