From 72e9a61ef9c93a45617fe090685b06648300791c Mon Sep 17 00:00:00 2001 From: chenxing Date: Sat, 26 Jan 2013 15:22:02 +0800 Subject: [PATCH] rk3188: fix compiled error when disable dvfs --- arch/arm/mach-rk3188/include/mach/dvfs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-rk3188/include/mach/dvfs.h b/arch/arm/mach-rk3188/include/mach/dvfs.h index 0e88605f06c4..9a9b3bdbc8e4 100644 --- a/arch/arm/mach-rk3188/include/mach/dvfs.h +++ b/arch/arm/mach-rk3188/include/mach/dvfs.h @@ -1 +1,12 @@ +#ifndef RK_MACH_DVFS_H +#define RK_MACH_DVFS_H + #include + +#ifdef CONFIG_DVFS +int rk3188_dvfs_init(void); +#else +static inline int rk3188_dvfs_init(void){ return 0; } +#endif + +#endif -- 2.34.1