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:
parent
1c7fc5cbc3
commit
fae1383b38
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue