From: 黄涛 Date: Mon, 25 Jul 2011 08:54:53 +0000 (+0800) Subject: rk29: pm-vol.h: fix warning: no return statement in function returning non-void X-Git-Tag: firefly_0821_release~10089^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d0dbaff1f502d5c4d0985cf2c876a59d7edc4a94;p=firefly-linux-kernel-4.4.55.git rk29: pm-vol.h: fix warning: no return statement in function returning non-void --- diff --git a/arch/arm/mach-rk29/include/mach/pm-vol.h b/arch/arm/mach-rk29/include/mach/pm-vol.h index b265f656c6af..70d78c78374f 100644 --- a/arch/arm/mach-rk29/include/mach/pm-vol.h +++ b/arch/arm/mach-rk29/include/mach/pm-vol.h @@ -11,9 +11,7 @@ void __sramfunc rk29_suspend_voltage_resume(unsigned int vol); #else #define interface_ctr_reg_pread() -static unsigned int __sramfunc rk29_suspend_voltage_set(unsigned int vol) -{ -} +static unsigned int __sramfunc rk29_suspend_voltage_set(unsigned int vol) { return 0; } #define rk29_suspend_voltage_resume(a) #endif