From: 黄涛 Date: Fri, 21 Dec 2012 10:20:28 +0000 (+0800) Subject: rk: printk: add pm_emit_log_char X-Git-Tag: firefly_0821_release~8080 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ebaf5512a628b63aaa39f39984f131bdcc073be9;p=firefly-linux-kernel-4.4.55.git rk: printk: add pm_emit_log_char --- diff --git a/kernel/printk.c b/kernel/printk.c index c6b2f794a210..d99f1fca19a6 100644 --- 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) {