mfd: Make AB8500_CORE select POWER_SUPPLY to fix build error
authorAxel Lin <axel.lin@ingics.com>
Tue, 19 Feb 2013 15:20:33 +0000 (23:20 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 12 Mar 2013 08:25:31 +0000 (09:25 +0100)
commit5c854aaecea0cd7da95ce2170ff305f8273d552d
tree5007e86ccbb5f887b291e12dce50961b7283d633
parent26bacba15ea849b61ae58d30a560b1f28a16d3a2
mfd: Make AB8500_CORE select POWER_SUPPLY to fix build error

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@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig