diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2019-10-09 00:15:09 +0800 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-08 10:54:44 -0700 |
commit | a14bf1dc494aa5126e4f23ebd9fa04991133814e (patch) | |
tree | 597a5a5d7782a6e3d1796b4bdf31990ed430fdbc /arch/mips/alchemy | |
parent | fd7710cb491f900eb63d2ce5aac0e682003e84e9 (diff) |
MIPS: generic: Use __initconst for const init data
Fix the following checkpatch errors:
$ ./scripts/checkpatch.pl --no-tree -f arch/mips/generic/init.c
ERROR: Use of const init definition must use __initconst
#23: FILE: arch/mips/generic/init.c:23:
+static __initdata const void *fdt;
ERROR: Use of const init definition must use __initconst
#24: FILE: arch/mips/generic/init.c:24:
+static __initdata const struct mips_machine *mach;
ERROR: Use of const init definition must use __initconst
#25: FILE: arch/mips/generic/init.c:25:
+static __initdata const void *mach_match_data;
Fixes: eed0eabd12ef ("MIPS: generic: Introduce generic DT-based board support")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: ralf@linux-mips.org
Cc: jhogan@kernel.org
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/alchemy')
0 files changed, 0 insertions, 0 deletions