Remove build warnings from sprd battery.
Change-Id: I5b30f1d1f35748da2b02e2e6cacad054cd0547c2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
#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;
}
unsigned int get_bat_low_level(void);
unsigned int get_bat_low_level_chg(void);
int charger_connected(void);
+extern uint16_t sprdbat_auxadc2vbatvol(uint16_t adcvalue);
#define _BUF_SIZE 10
uint32_t vbat_buf[_BUF_SIZE];