From: chenxing Date: Sat, 26 Jan 2013 07:38:43 +0000 (+0800) Subject: rk292x: fix compiled error when disable dvfs X-Git-Tag: firefly_0821_release~7756 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c216a73bf8a4e239b6e709b95dfcbbc98cb73272;p=firefly-linux-kernel-4.4.55.git rk292x: fix compiled error when disable dvfs --- 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