diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2014-07-01 16:03:00 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 16:11:33 +0800 |
commit | 8756dd924df6f4199368bee426dc8b2da0cfc6d6 (patch) | |
tree | 77ae3c2d90e68b85596253c4b4a509de67482da6 /arch/arm/mach-imx/mach-imx53.c | |
parent | a49fb63c87f743c1166a2b0a20f80fcb0cbd02b2 (diff) | |
download | op-kernel-dev-8756dd924df6f4199368bee426dc8b2da0cfc6d6.zip op-kernel-dev-8756dd924df6f4199368bee426dc8b2da0cfc6d6.tar.gz |
ARM: imx: mark .dt_compat as const
Otherwise GCC will mark the .init.rodata section R/W, which causes
a compile error once we add other real R/O data.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx53.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx53.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx53.c b/arch/arm/mach-imx/mach-imx53.c index d8c3c08..03a0b40 100644 --- a/arch/arm/mach-imx/mach-imx53.c +++ b/arch/arm/mach-imx/mach-imx53.c @@ -41,7 +41,7 @@ static void __init imx53_init_late(void) imx53_pm_init(); } -static const char *imx53_dt_board_compat[] __initconst = { +static const char * const imx53_dt_board_compat[] __initconst = { "fsl,imx53", NULL }; |