]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx: use __initconst for const init definition
authorShawn Guo <shawn.guo@linaro.org>
Mon, 9 Dec 2013 06:04:35 +0000 (14:04 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 10 Dec 2013 13:44:00 +0000 (21:44 +0800)
commit376305e2fa479b0e6654f1ae197f9b206e3e32b0
treecfda852989ba00494e582226919715475643910f
parent1e65244e3ea8bb6b662be248ad92521964d57d5b
ARM: imx: use __initconst for const init definition

0-DAY kernel build testing backend reports the following.

 scripts/checkpatch.pl 0001-ARM-imx-add-support-code-for-IMX50-based-machines.patch
 # many are suggestions rather than must-fix

 ERROR: Use of const init definition must use __initconst
 #80: arch/arm/mach-imx/mach-imx50.c:26:
 +static const char *imx50_dt_board_compat[] __initdata = {

While at it, fix the error globally for IMX platform.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/imx31-dt.c
arch/arm/mach-imx/imx51-dt.c
arch/arm/mach-imx/mach-imx50.c
arch/arm/mach-imx/mach-imx53.c
arch/arm/mach-imx/mach-imx6q.c
arch/arm/mach-imx/mach-imx6sl.c
arch/arm/mach-imx/mach-vf610.c