rk292x: fix compiled error when disable dvfs

This commit is contained in:
chenxing
2013-01-26 15:38:43 +08:00
parent 92a8cef30a
commit c216a73bf8

View File

@@ -1 +1,12 @@
#ifndef RK_MACH_DVFS_H
#define RK_MACH_DVFS_H
#include <plat/dvfs.h>
#ifdef CONFIG_DVFS
int rk292x_dvfs_init(void);
#else
static inline int rk292x_dvfs_init(void){ return 0; }
#endif
#endif