make "initcall_level_names[]" const char *
PATCH 1/1 make "initcall_level_names[]" const char *
Initcall names should not be changed.
Signed-off-by Alexey Dobriyan <[email protected]>
---
init/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
init/main.c +1 -1
@@ -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" ,