diff options
author | Alexander Kuleshov <kuleshovmail@gmail.com> | 2015-03-17 10:45:44 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-05-20 17:13:26 (GMT) |
commit | 026df6ca90cf56aa756dd5ed077a6e90a523eff7 (patch) | |
tree | 29c1271ed1dbe341e61983d35e7a1f85e38f159b /arch/arm/mach-omap2/serial.c | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | linux-026df6ca90cf56aa756dd5ed077a6e90a523eff7.tar.xz |
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: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 57dee0c..5fb50fe 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c @@ -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); |