kernel_optimize_test/arch/mips/generic
Tiezhu Yang a14bf1dc49
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: eed0eabd12 ("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
2019-10-08 10:54:44 -07:00
..
board-boston.its.S MIPS: generic: Move Boston FIT image source to its own file 2017-08-29 15:21:52 +02:00
board-ni169445.its.S MIPS: generic: Fix NI 169445 its build 2017-10-31 22:55:44 +00:00
board-ocelot.c MIPS: generic: Add support for Microsemi Ocelot 2018-03-21 23:33:10 +00:00
board-ocelot.its.S MIPS: mscc: add PCB120 to the ocelot fitImage 2018-10-09 10:38:29 -07:00
board-ranchu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
board-sead3.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
board-xilfpga.its.S MIPS: generic: Add support for MIPSfpga 2017-11-08 22:53:44 +00:00
init.c MIPS: generic: Use __initconst for const init data 2019-10-08 10:54:44 -07:00
irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig MIPS: mscc: add PCB120 to the ocelot fitImage 2018-10-09 10:38:29 -07:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Platform MIPS: mscc: add PCB120 to the ocelot fitImage 2018-10-09 10:38:29 -07:00
proc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
vmlinux.its.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
yamon-dt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00