Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 026df6ca authored by Alexander Kuleshov's avatar Alexander Kuleshov Committed by Tony Lindgren
Browse files

ARM: OMAP2+: use symbolic defines for console loglevels instead of numbers



<linux/printk.h> provides macros for console log level, let's use it
instead of numbers.

Signed-off-by: default avatarAlexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b787f68c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ static int __init omap_serial_early_init(void)
		if (cmdline_find_option(uart_name)) {
			console_uart_id = uart->num;

			if (console_loglevel >= 10) {
			if (console_loglevel >= CONSOLE_LOGLEVEL_DEBUG) {
				uart_debug = true;
				pr_info("%s used as console in debug mode: uart%d clocks will not be gated",
					uart_name, uart->num);