From: chenxing Date: Mon, 16 Sep 2013 09:40:45 +0000 (+0800) Subject: rk3026: fix compile error without open DVFS X-Git-Tag: firefly_0821_release~6631 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9ac641cca31894014cbcd2a3e9c0cdbeefb00a9c;p=firefly-linux-kernel-4.4.55.git rk3026: fix compile error without open DVFS --- 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