diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index cfd84638b1a4ec3c57a9f4e05df9bff669c121cf..7ca29a0a3019685291e33a8b3df86669f9378dea 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1042,7 +1042,7 @@ static int __init dynamic_debug_init(void) return 0; } /* Allow early initialization for boot messages via boot param */ -arch_initcall(dynamic_debug_init); +early_initcall(dynamic_debug_init); /* Debugfs setup must be done later */ -module_init(dynamic_debug_init_debugfs); +fs_initcall(dynamic_debug_init_debugfs);