rk3026: fix compile error without open DVFS
authorchenxing <chenxing@rock-chips.com>
Mon, 16 Sep 2013 09:40:45 +0000 (17:40 +0800)
committerchenxing <chenxing@rock-chips.com>
Mon, 16 Sep 2013 09:40:45 +0000 (17:40 +0800)
arch/arm/mach-rk3026/include/mach/dvfs.h

index 1e7fb67fa81d3d385a4a55c34fd76e5e248534a0..ef29246eb6be63eb5c3775c7e03e919f7a227211 100644 (file)
@@ -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