summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2013-04-17 14:28:47 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2013-05-16 14:45:59 +0200
commitc972c1280387e7015790d251160039ea2077e430 (patch)
treef50baa1c7e780208969a0d2f5010807e44530a43
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
downloadop-kernel-dev-c972c1280387e7015790d251160039ea2077e430.zip
op-kernel-dev-c972c1280387e7015790d251160039ea2077e430.tar.gz
mfd: tps65912: Select MFD_CORE
CONFIG_MFD_CORE must be selected for TPS65912 to properly buid. Otherwise it results in a link error: drivers/built-in.o: In function `tps65912_device_init': (.text+0x587e4): undefined reference to `mfd_add_devices' drivers/built-in.o: In function `tps65912_device_init': (.text+0x5884c): undefined reference to `mfd_remove_devices' drivers/built-in.o: In function `tps65912_device_exit': (.text+0x58878): undefined reference to `mfd_remove_devices' Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--drivers/mfd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index d9aed15..5ea1f8c 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -818,6 +818,7 @@ config MFD_TPS65910
config MFD_TPS65912
bool "TI TPS65912 Power Management chip"
depends on GPIOLIB
+ select MFD_CORE
help
If you say yes here you get support for the TPS65912 series of
PM chips.
OpenPOWER on IntegriCloud