Messages in this thread Patch in this message |  | | From | carlosteniswarrior@gmail ... | Subject | [PATCH] Init: fixed an error caused by using __initdata instead of __initconst | Date | Mon, 6 Jan 2020 02:02:17 +0000 |
| |
From: Carlos Guerrero Alvarez <carlosteniswarrior@gmail.com>
Fixed an error.
Signed-off-by: Carlos Guerrero Alvarez <carlosteniswarrior@gmail.com> --- init/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/main.c b/init/main.c index 2cd736059416..bcf8aa4f7cab 100644 --- a/init/main.c +++ b/init/main.c @@ -979,7 +979,7 @@ static initcall_entry_t *initcall_levels[] __initdata = { }; /* Keep these in sync with initcalls in include/linux/init.h */ -static const char *initcall_level_names[] __initdata = { +static const char *initcall_level_names[] __initconst = { "pure", "core", "postcore", -- 2.24.0
|  |