projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b787f68
)
ARM: OMAP2+: use symbolic defines for console loglevels instead of numbers
author
Alexander Kuleshov
<kuleshovmail@gmail.com>
Tue, 17 Mar 2015 10:45:44 +0000
(16:45 +0600)
committer
Tony Lindgren
<tony@atomide.com>
Wed, 20 May 2015 17:13:26 +0000
(10:13 -0700)
<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>
arch/arm/mach-omap2/serial.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/serial.c
b/arch/arm/mach-omap2/serial.c
index 57dee0c7cd2b3d57af4b11b3dcbb9ef156ecfd58..5fb50fe541539c1b1a182c480c54cf21cb47d03f 100644
(file)
--- 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);