projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3837431
)
ARM: rockchip: printk.c: fix compilation warning
author
黄涛
<huangtao@rock-chips.com>
Wed, 17 Sep 2014 08:41:04 +0000
(16:41 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Wed, 17 Sep 2014 08:41:04 +0000
(16:41 +0800)
kernel/printk.c
patch
|
blob
|
history
diff --git
a/kernel/printk.c
b/kernel/printk.c
index 0f7eb6c133e04312c83b69de62cedcc71009291a..cbf71b406e33627b7e5c9e5941caf0b97f7bef1d 100644
(file)
--- a/
kernel/printk.c
+++ b/
kernel/printk.c
@@
-1717,7
+1717,7
@@
asmlinkage int printk(const char *fmt, ...)
}
EXPORT_SYMBOL(printk);
-#if
CONFIG_RK_DEBUG_UART >= 0
+#if
defined(CONFIG_RK_DEBUG_UART) && (CONFIG_RK_DEBUG_UART >= 0)
void console_disable_suspend(void)
{
console_suspended = 0;