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:
4b01e8e
)
rk: printk: add pm_emit_log_char
author
黄涛
<huangtao@rock-chips.com>
Fri, 21 Dec 2012 10:20:28 +0000
(18:20 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 21 Dec 2012 11:34:51 +0000
(19:34 +0800)
kernel/printk.c
patch
|
blob
|
history
diff --git
a/kernel/printk.c
b/kernel/printk.c
index c6b2f794a21045fe43835c26bd99e60b3d11fc4f..d99f1fca19a68c122a389921a48f982577848681 100644
(file)
--- a/
kernel/printk.c
+++ b/
kernel/printk.c
@@
-1023,6
+1023,13
@@
out_restore_irqs:
EXPORT_SYMBOL(printk);
EXPORT_SYMBOL(vprintk);
+#ifdef CONFIG_PLAT_RK
+void pm_emit_log_char(char c)
+{
+ emit_log_char(c);
+}
+#endif
+
#ifdef CONFIG_RK29_LAST_LOG
void switch_log_buf(char *new_log_buf, int size)
{