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