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:
707c7ce
)
rk3026: fix compile error without open DVFS
author
chenxing
<chenxing@rock-chips.com>
Mon, 16 Sep 2013 09:40:45 +0000
(17:40 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Mon, 16 Sep 2013 09:40:45 +0000
(17:40 +0800)
arch/arm/mach-rk3026/include/mach/dvfs.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3026/include/mach/dvfs.h
b/arch/arm/mach-rk3026/include/mach/dvfs.h
index 1e7fb67fa81d3d385a4a55c34fd76e5e248534a0..ef29246eb6be63eb5c3775c7e03e919f7a227211 100644
(file)
--- a/
arch/arm/mach-rk3026/include/mach/dvfs.h
+++ b/
arch/arm/mach-rk3026/include/mach/dvfs.h
@@
-3,4
+3,9
@@
#include <plat/dvfs.h>
+#ifdef CONFIG_DVFS
+int rk292x_dvfs_init(void);
+#else
+static inline int rk292x_dvfs_init(void){ return 0; }
+#endif
#endif