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:
0e9ad31
)
rk3188: fix compiled error when disable dvfs
author
chenxing
<chenxing@rock-chips.com>
Sat, 26 Jan 2013 07:22:02 +0000
(15:22 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Sat, 26 Jan 2013 07:22:02 +0000
(15:22 +0800)
arch/arm/mach-rk3188/include/mach/dvfs.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3188/include/mach/dvfs.h
b/arch/arm/mach-rk3188/include/mach/dvfs.h
index 0e88605f06c4b3ae393c5b88a97ee53da8abcb32..9a9b3bdbc8e415de70e28e8ced602dafcf56fd8d 100644
(file)
--- a/
arch/arm/mach-rk3188/include/mach/dvfs.h
+++ b/
arch/arm/mach-rk3188/include/mach/dvfs.h
@@
-1
+1,12
@@
+#ifndef RK_MACH_DVFS_H
+#define RK_MACH_DVFS_H
+
#include <plat/dvfs.h>
+
+#ifdef CONFIG_DVFS
+int rk3188_dvfs_init(void);
+#else
+static inline int rk3188_dvfs_init(void){ return 0; }
+#endif
+
+#endif