[PATCH] mfd: Fix AB8500 build failure if POWER_SUPPLY is not configured
Linus Walleij
linus.walleij at linaro.org
Mon Mar 4 02:36:33 EST 2013
On Thu, Feb 28, 2013 at 8:37 PM, Guenter Roeck <linux at roeck-us.net> wrote:
> ab8500-sysctrl.c fails to build if POWER_SUPPLY is not configured.
>
> drivers/built-in.o: In function `ab8500_power_off':
> drivers/mfd/ab8500-sysctrl.c:37: undefined reference to `power_supply_get_by_name'
> drivers/mfd/ab8500-sysctrl.c:53: undefined reference to `power_supply_get_by_name'
>
> Select POWER_SUPPLY in Kconfig if AB8500_CORE is configured to fix the problem.
>
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>
It appears an identical patch was already submitted in feb 19:
https://patchwork.kernel.org/patch/2163301/
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list