powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro
authorSergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Mon, 7 Jan 2019 09:57:20 +0000 (18:57 +0900)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Jan 2019 09:39:27 +0000 (20:39 +1100)
Use a CONSOLE_LOGLEVEL_DEBUG macro for console_loglevel rather
than a naked number.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/udbg.c

index 7cc38b5..8db4891 100644 (file)
@@ -74,7 +74,7 @@ void __init udbg_early_init(void)
 #endif
 
 #ifdef CONFIG_PPC_EARLY_DEBUG
-       console_loglevel = 10;
+       console_loglevel = CONSOLE_LOGLEVEL_DEBUG;
 
        register_early_udbg_console();
 #endif