Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource/drivers/arm_arch_timer: Mark hisi_161010101_oem_info const

This isn't modified at runtime. Mark it const so it can move to
read-only data.

Cc: dann frazier <dann.frazier@canonical.com>
Cc: Hanjun Guo <hanjun.guo@linaro.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240502233447.420888-1-swboyd@chromium.org

authored by

Stephen Boyd and committed by
Daniel Lezcano
2030a7e1 e6f8bed2

+1 -1
+1 -1
drivers/clocksource/arm_arch_timer.c
··· 331 331 return __hisi_161010101_read_reg(cntvct_el0); 332 332 } 333 333 334 - static struct ate_acpi_oem_info hisi_161010101_oem_info[] = { 334 + static const struct ate_acpi_oem_info hisi_161010101_oem_info[] = { 335 335 /* 336 336 * Note that trailing spaces are required to properly match 337 337 * the OEM table information.