mfd: Select MFD_CORE if TPS6105X driver is configured
authorGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 24 Mar 2011 19:12:47 +0000 (12:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 26 Mar 2011 23:09:38 +0000 (00:09 +0100)
commitfc498fa29c725a0f0fc5ed359db0e3ed33f4ed52
treefe3421220a4ad582d7b8153da6857e568b7ae23b
parent8537548645231424b457dd277900054c59096920
mfd: Select MFD_CORE if TPS6105X driver is configured

The TPS61050/61052 driver uses MFD core code, yet does not specify the
dependency in Kconfig. If it is the only MFD driver configured, compilation
fails with

ERROR: "mfd_add_devices" [drivers/mfd/tps6105x.ko] undefined!
ERROR: "mfd_remove_devices" [drivers/mfd/tps6105x.ko] undefined!

Fix the problem by adding "select MFD_CORE" to the respective Kconfig entry.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig