[PATCH] Init: fixed an error caused by using __initdata instead of __initconst
From: carlosteniswarrior
Date: Tue Jan 07 2020 - 13:53:25 EST
From: Carlos Guerrero Alvarez <carlosteniswarrior@xxxxxxxxx>
Fixed an error.
Signed-off-by: Carlos Guerrero Alvarez <carlosteniswarrior@xxxxxxxxx>
---
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