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

index 0f7eb6c133e04312c83b69de62cedcc71009291a..cbf71b406e33627b7e5c9e5941caf0b97f7bef1d 100644 (file)
@@ -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;