powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro

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>
This commit is contained in:
Sergey Senozhatsky 2019-01-07 18:57:20 +09:00 committed by Michael Ellerman
parent 1c7fc5cbc3
commit fae1383b38
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ void __init udbg_early_init(void)
#endif #endif
#ifdef CONFIG_PPC_EARLY_DEBUG #ifdef CONFIG_PPC_EARLY_DEBUG
console_loglevel = 10; console_loglevel = CONSOLE_LOGLEVEL_DEBUG;
register_early_udbg_console(); register_early_udbg_console();
#endif #endif