ARM: rockchip: common.h add rk_last_log_text
author黄涛 <huangtao@rock-chips.com>
Wed, 16 Jul 2014 06:58:06 +0000 (14:58 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 16 Jul 2014 07:01:34 +0000 (15:01 +0800)
include/linux/rockchip/common.h

index b830fbe1cf863e12c0d5b1536ca13c6ec57fbb66..be6ff44f5fee7b0abd1b7bf66c9b27595e0f40d5 100644 (file)
@@ -64,4 +64,10 @@ extern int rockchip_tsadc_get_temp(int chn);
 static inline int rockchip_tsadc_get_temp(int chn) { return 0; }
 #endif
 
 static inline int rockchip_tsadc_get_temp(int chn) { return 0; }
 #endif
 
+#ifdef CONFIG_RK_LAST_LOG
+extern void rk_last_log_text(char *text, size_t size);
+#else
+static inline void rk_last_log_text(char *text, size_t size) {}
+#endif
+
 #endif
 #endif