[PATCH] make "initcall_level_names[]" const char *

From: Alexey Dobriyan
Date: Sat Nov 24 2018 - 04:18:44 EST


Initcall names should not be changed.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

init/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/init/main.c
+++ b/init/main.c
@@ -934,7 +934,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",