[PATCH] mfd: Fix AB8500 build failure if POWER_SUPPLY is not configured

Samuel Ortiz sameo at linux.intel.com
Wed Mar 13 04:35:23 EDT 2013


Hi Guenter,

On Thu, Feb 28, 2013 at 11:37:09AM -0800, Guenter Roeck 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>
> ---
>  drivers/mfd/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
I applied Axel's patch to my mfd-fixes tree now.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/



More information about the linux-arm-kernel mailing list