From 9ac641cca31894014cbcd2a3e9c0cdbeefb00a9c Mon Sep 17 00:00:00 2001 From: chenxing Date: Mon, 16 Sep 2013 17:40:45 +0800 Subject: [PATCH] rk3026: fix compile error without open DVFS --- arch/arm/mach-rk3026/include/mach/dvfs.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.34.1