From d0dbaff1f502d5c4d0985cf2c876a59d7edc4a94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Mon, 25 Jul 2011 16:54:53 +0800 Subject: [PATCH] rk29: pm-vol.h: fix warning: no return statement in function returning non-void --- arch/arm/mach-rk29/include/mach/pm-vol.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.34.1