Skip to content

Commit

Permalink
mfd: cros_ec: Add MFD_CORE dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Rientjes authored and Samuel Ortiz committed Apr 5, 2013
1 parent 5c29e47 commit 5a324ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5a324ac

Please sign in to comment.