projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e7f0d
)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/include/mach/pm-vol.h
b/arch/arm/mach-rk29/include/mach/pm-vol.h
index b265f656c6af4514af142f27315b1ab3eac65af0..70d78c78374fa47310c91863460496d6539c26b4 100644
(file)
--- 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
\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