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:
feedd18
)
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
patch
|
blob
|
history
diff --git
a/include/linux/rockchip/common.h
b/include/linux/rockchip/common.h
index b830fbe1cf863e12c0d5b1536ca13c6ec57fbb66..be6ff44f5fee7b0abd1b7bf66c9b27595e0f40d5 100644
(file)
--- 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