]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/imx-tpm: Mark two variable with __ro_after_init
authorPeng Fan <peng.fan@nxp.com>
Tue, 14 Dec 2021 12:07:35 +0000 (20:07 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 26 Jan 2022 09:00:50 +0000 (10:00 +0100)
commit825b4d456f6cfc484d92bd129afbd86a09e0b674
tree0347f0ce1f4c8632bae4efb5ac6db0175f797b52
parent42b9b48f5f4e7894c3b6018ee8a943d1abda3ea7
clocksource/drivers/imx-tpm: Mark two variable with __ro_after_init

counter_width and timer_base will not be updated after init, so mark
as __ro_after_init.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20211214120737.1611955-4-peng.fan@oss.nxp.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-imx-tpm.c