init/main.c: make "initcall_level_names[]" const char *

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>
This commit is contained in:
Alexey Dobriyan 2019-01-03 15:27:29 -08:00 коммит произвёл Linus Torvalds
Родитель 86c051793b
Коммит 7c8f71935a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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",