Messages in this thread | | | Date | Mon, 9 Jan 2012 13:11:00 +1100 | From | Stephen Rothwell <> | Subject | linux-next: build failure after merge of the battery tree |
| |
Hi Anton,
After merging the battery tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/power/da9052-battery.c: In function 'da9052_bat_read_volt': drivers/power/da9052-battery.c:293:2: error: implicit declaration of function 'da9052_adc_manual_read' [-Werror=implicit-function-declaration] drivers/power/da9052-battery.c: In function 'da9052_bat_check_presence': drivers/power/da9052-battery.c:306:2: error: implicit declaration of function 'da9052_adc_read_temp' [-Werror=implicit-function-declaration] drivers/power/da9052-battery.c: In function 'da9052_determine_vc_tbl_index': drivers/power/da9052-battery.c:348:1: warning: control reaches end of non-void function [-Wreturn-type] cc1: some warnings being treated as errors
Caused by commit ded7fc7b0550 ("power_supply: Add DA9052 battery driver").
The commit message says "This driver depends on DA9052 MFD core dirver for definitions and methods". That core is presumably still pending inclusion.
I have used the battery tree from next-20120104 for today. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |