rk29: pm-vol.h: fix warning: no return statement in function returning non-void
author黄涛 <huangtao@rock-chips.com>
Mon, 25 Jul 2011 08:54:53 +0000 (16:54 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 25 Jul 2011 09:03:21 +0000 (17:03 +0800)
arch/arm/mach-rk29/include/mach/pm-vol.h

index b265f656c6af4514af142f27315b1ab3eac65af0..70d78c78374fa47310c91863460496d6539c26b4 100644 (file)
@@ -11,9 +11,7 @@ void __sramfunc rk29_suspend_voltage_resume(unsigned int vol);
 #else\r
 \r
 #define interface_ctr_reg_pread()\r
-static unsigned int __sramfunc rk29_suspend_voltage_set(unsigned int vol)\r
-{\r
-}\r
+static unsigned int __sramfunc rk29_suspend_voltage_set(unsigned int vol) { return 0; }\r
 #define rk29_suspend_voltage_resume(a)\r
 \r
 #endif\r