Skip to content

Commit

Permalink
powerpc: use a CONSOLE_LOGLEVEL_DEBUG macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sergey-senozhatsky authored and mpe committed Jan 14, 2019
1 parent 1c7fc5c commit fae1383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fae1383

Please sign in to comment.