projects
/
profile
/
mobile
/
platform
/
kernel
/
u-boot-tm1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
power: battery: sprd: remove build warnings
[profile/mobile/platform/kernel/u-boot-tm1.git]
/
drivers
/
power
/
sprd_battery.c
diff --git
a/drivers/power/sprd_battery.c
b/drivers/power/sprd_battery.c
index
884d527
..
ed58a4f
100644
(file)
--- a/
drivers/power/sprd_battery.c
+++ b/
drivers/power/sprd_battery.c
@@
-229,11
+229,11
@@
static uint32_t sprdfgu_poweron_type_read(void)
#define mdelay(_ms) udelay(_ms*1000)
unsigned int fgu_vol, fgu_cur;
-unsigned int get_fgu_vol() {
+unsigned int get_fgu_vol(
void
) {
return fgu_vol;
}
-unsigned int get_fgu_cur() {
+unsigned int get_fgu_cur(
void
) {
return fgu_cur;
}