From fae1383b38a105a0454acab19b094c510728fde5 Mon Sep 17 00:00:00 2001 From: Sergey Senozhatsky Date: Mon, 7 Jan 2019 18:57:20 +0900 Subject: [PATCH] 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 Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/udbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c index 7cc38b5b58bc..8db4891acdaf 100644 --- a/arch/powerpc/kernel/udbg.c +++ b/arch/powerpc/kernel/udbg.c @@ -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 -- 2.30.2