diff --git a/arch/arm/mach-rk2928/include/mach/dvfs.h b/arch/arm/mach-rk2928/include/mach/dvfs.h index 5d6254dd1457..4672820e623a 100644 --- 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 +#define RK_MACH_DVFS_H + #include + +#ifdef CONFIG_DVFS +int rk292x_dvfs_init(void); +#else +static inline int rk292x_dvfs_init(void){ return 0; } +#endif + +#endif