diff --git a/arch/arm/mach-rk3026/include/mach/dvfs.h b/arch/arm/mach-rk3026/include/mach/dvfs.h index 1e7fb67fa81d..ef29246eb6be 100644 --- a/arch/arm/mach-rk3026/include/mach/dvfs.h +++ b/arch/arm/mach-rk3026/include/mach/dvfs.h @@ -3,4 +3,9 @@ #include +#ifdef CONFIG_DVFS +int rk292x_dvfs_init(void); +#else +static inline int rk292x_dvfs_init(void){ return 0; } +#endif #endif