]> git.baikalelectronics.ru Git - kernel.git/commitdiff
init/main.c: make "initcall_level_names[]" const char *
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 3 Jan 2019 23:27:29 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jan 2019 21:13:46 +0000 (13:13 -0800)
Initcall names should not be changed.

Link: http://lkml.kernel.org/r/20181124091829.GD10969@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c

index 86d894852bef8b4e25cddde0967d4f08a86ab269..6a74ba0892d223363bd7529d0a216c7f08bd399e 100644 (file)
@@ -930,7 +930,7 @@ static initcall_entry_t *initcall_levels[] __initdata = {
 };
 
 /* Keep these in sync with initcalls in include/linux/init.h */
-static char *initcall_level_names[] __initdata = {
+static const char *initcall_level_names[] __initdata = {
        "pure",
        "core",
        "postcore",