aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c
diff options
context:
space:
mode:
authorPali Rohár2022-09-09 14:41:28 +0200
committerStefan Roese2022-09-13 06:38:08 +0200
commitb120519d7655a9fb134f1c71148c1f0b96b1192e (patch)
tree813db6b81f050600a4239a29af64dcf9bdb084ba /arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c
parentcadda05a763ac5c1b844e6e9b78579ca62103cf3 (diff)
arm: mvebu: Mark constant data with const keyword
Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c')
-rw-r--r--arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c b/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c
index 2e467b546d5..943ae019425 100644
--- a/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c
+++ b/arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c
@@ -105,7 +105,7 @@ struct serdes_unit_data {
u8 serdes_unit_num;
};
-static struct serdes_unit_data serdes_type_to_unit_info[] = {
+static const struct serdes_unit_data serdes_type_to_unit_info[] = {
{PEX_UNIT_ID, 0,},
{PEX_UNIT_ID, 1,},
{PEX_UNIT_ID, 2,},