Skip to content

Commit 2030a7e

Browse files
bebarinodlezcano
authored andcommitted
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 <[email protected]> Cc: Hanjun Guo <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Mark Rutland <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Hanjun Guo <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e6f8bed commit 2030a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clocksource/arm_arch_timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ static u64 notrace hisi_161010101_read_cntvct_el0(void)
331331
return __hisi_161010101_read_reg(cntvct_el0);
332332
}
333333

334-
static struct ate_acpi_oem_info hisi_161010101_oem_info[] = {
334+
static const struct ate_acpi_oem_info hisi_161010101_oem_info[] = {
335335
/*
336336
* Note that trailing spaces are required to properly match
337337
* the OEM table information.

0 commit comments

Comments
 (0)