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:
92a8cef
)
rk292x: fix compiled error when disable dvfs
author
chenxing
<chenxing@rock-chips.com>
Sat, 26 Jan 2013 07:38:43 +0000
(15:38 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Sat, 26 Jan 2013 07:38:43 +0000
(15:38 +0800)
arch/arm/mach-rk2928/include/mach/dvfs.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2928/include/mach/dvfs.h
b/arch/arm/mach-rk2928/include/mach/dvfs.h
index 5d6254dd145743b497c75450a09a60cc6daf84a1..4672820e623a51ab11338449f8a6365bb6dd8cf7 100644
(file)
--- a/
arch/arm/mach-rk2928/include/mach/dvfs.h
+++ b/
arch/arm/mach-rk2928/include/mach/dvfs.h
@@
-1
+1,12
@@
+#ifndef RK_MACH_DVFS_H
\r
+#define RK_MACH_DVFS_H
\r
+
\r
#include <plat/dvfs.h>
\r
+
\r
+#ifdef CONFIG_DVFS
\r
+int rk292x_dvfs_init(void);
\r
+#else
\r
+static inline int rk292x_dvfs_init(void){ return 0; }
\r
+#endif
\r
+
\r
+#endif
\r