diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2014-07-01 10:03:00 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 10:11:33 +0200 |
commit | 8756dd924df6f4199368bee426dc8b2da0cfc6d6 (patch) | |
tree | 77ae3c2d90e68b85596253c4b4a509de67482da6 /arch/arm/mach-imx/imx35-dt.c | |
parent | ARM: mx6: Only check for 1.2GHz for mx6quad (diff) | |
download | linux-8756dd924df6f4199368bee426dc8b2da0cfc6d6.tar.xz linux-8756dd924df6f4199368bee426dc8b2da0cfc6d6.zip |
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/imx35-dt.c')
-rw-r--r-- | arch/arm/mach-imx/imx35-dt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx35-dt.c b/arch/arm/mach-imx/imx35-dt.c index a62854c59240..584fbe105579 100644 --- a/arch/arm/mach-imx/imx35-dt.c +++ b/arch/arm/mach-imx/imx35-dt.c @@ -34,7 +34,7 @@ static void __init imx35_irq_init(void) mx35_init_irq(); } -static const char *imx35_dt_board_compat[] __initconst = { +static const char * const imx35_dt_board_compat[] __initconst = { "fsl,imx35", NULL }; |