From c1446874c8482f631a2e7f8601fdafe4b2dd56b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 16 Jul 2014 14:58:06 +0800 Subject: [PATCH] ARM: rockchip: common.h add rk_last_log_text --- include/linux/rockchip/common.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/rockchip/common.h b/include/linux/rockchip/common.h index b830fbe1cf86..be6ff44f5fee 100644 --- a/include/linux/rockchip/common.h +++ b/include/linux/rockchip/common.h @@ -64,4 +64,10 @@ extern int rockchip_tsadc_get_temp(int chn); 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 -- 2.34.1