Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a324acf authored by David Rientjes's avatar David Rientjes Committed by Samuel Ortiz
Browse files

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: default avatarDavid Rientjes <rientjes@google.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 5c29e47e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ config MFD_88PM860X

config MFD_CROS_EC
	tristate "Support ChromeOS Embedded Controller"
	select MFD_CORE
	help
	  If you say Y here you get support for the ChromeOS Embedded
	  Controller (EC) providing keyboard, battery and power services.