mfd: cros_ec: Add MFD_CORE dependency
authorDavid Rientjes <rientjes@google.com>
Thu, 21 Mar 2013 19:08:33 +0000 (12:08 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 5 Apr 2013 09:20:14 +0000 (11:20 +0200)
commit5a324acfce6f7f05ab2a044f7d0ece5f44e812c6
tree08a554b2c6d557630ccc2d4be8fde1a626e3a94a
parent5c29e47e6ac55b63c76999eb5b283a80208726c5
mfd: cros_ec: Add MFD_CORE dependency

CONFIG_MFD_CROS_EC requires CONFIG_MFD_CORE for a couple of functions that
are declared but not defined:

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

Fix it by selecting CONFIG_MFD_CORE anytime CONFIG_MFD_CROS_EC is enabled.

Signed-off-by: David Rientjes <rientjes@google.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig