[PATCH 1/2] clocksource/drivers/imx-sysctr: mark two variable with __ro_after_init

Daniel Lezcano daniel.lezcano at linaro.org
Thu Dec 9 05:15:13 PST 2021


On 01/12/2021 13:50, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> sys_ctr_base and cmpcr will not be updated after init, so mark
> as __ro_after_init.
> 
> Cc: Kees Cook <keescook at chromium.org>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>  drivers/clocksource/timer-imx-sysctr.c | 4 ++--

Applied, thanks


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog



More information about the linux-arm-kernel mailing list