[PATCH 2/3] mfd: Make AB8500_CORE select POWER_SUPPLY to fix build error

Samuel Ortiz sameo at linux.intel.com
Fri Mar 15 02:44:36 EDT 2013


Hi Arnd,

On Thu, Mar 14, 2013 at 10:56:39PM +0100, Arnd Bergmann wrote:
> From: Axel Lin <axel.lin at ingics.com>
> 
> This patch fixes below build error when CONFIG_POWER_SUPPLY is not set.
> 
> 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'
> make: *** [vmlinux] Error 1
> 
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> Acked-by: Lee Jones <lee.jones at linaro.org>
> Cc: Samuel Ortiz <sameo at linux.intel.com>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
> Please apply to MFD tree for 3.9
Already applied to mfd-fixes.

Cheers,
Samuel.

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



More information about the linux-arm-kernel mailing list