mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
a14bf1dc49
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:
|
||
---|---|---|
.. | ||
board-boston.its.S | ||
board-ni169445.its.S | ||
board-ocelot.c | ||
board-ocelot.its.S | ||
board-ranchu.c | ||
board-sead3.c | ||
board-xilfpga.its.S | ||
init.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
Platform | ||
proc.c | ||
vmlinux.its.S | ||
yamon-dt.c |