diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-03-03 15:40:56 +0100 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2015-03-04 14:56:21 +0100 |
commit | bc2d7a58b9a48e4c1f35fadb30223ca87c59d50f (patch) | |
tree | 7cdc1d3effa9bccf9883a4d3b1b363de40d199ea /arch/arm/mach-mvebu/kirkwood.c | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | talos-op-linux-bc2d7a58b9a48e4c1f35fadb30223ca87c59d50f.tar.gz talos-op-linux-bc2d7a58b9a48e4c1f35fadb30223ca87c59d50f.zip |
ARM: mvebu: add __initconst specifiers on DT_MACHINE_START dt_compat tables
As suggested by Stephen Boyd, this commit adds the __initconst
specifier to the dt_compat table declarations used by the
DT_MACHINE_START structures in mach-mvebu land.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-mvebu/kirkwood.c')
-rw-r--r-- | arch/arm/mach-mvebu/kirkwood.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 6b5310828eb2..925f75f54268 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -186,7 +186,7 @@ static void __init kirkwood_dt_init(void) of_platform_populate(NULL, of_default_bus_match_table, auxdata, NULL); } -static const char * const kirkwood_dt_board_compat[] = { +static const char * const kirkwood_dt_board_compat[] __initconst = { "marvell,kirkwood", NULL }; |