diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-08-19 13:19:53 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-08-24 15:15:31 +0100 |
commit | b9124a523017a53cce071451f5c38a0b77761534 (patch) | |
tree | 6e43456e3d4008fc1e8b94526a196125a7d2ee82 /drivers/mfd | |
parent | da935c0b6eeeac16de0a82cc1152fb0a9b5a11ef (diff) | |
download | blackbird-op-linux-b9124a523017a53cce071451f5c38a0b77761534.tar.gz blackbird-op-linux-b9124a523017a53cce071451f5c38a0b77761534.zip |
mfd: Add MFD_CROS_EC dependencies
The MFD_CROS_EC symbol select CHROME_PLATFORMS and CROS_EC_PROTO but
that caused a Kconfig unmet direct dependencies warning since these
symbols could only be selected for X86 || ARM.
The fix it, the CHROME_PLATFORMS dependencies were relexed on commit
d12bbcd3ea44 ("platform/chrome: Don't make CHROME_PLATFORMS depends
on X86 || ARM") but that was found to be wrong and the correct fix
is to add the needed dependencies to the MFD_CROS_EC config symbol.
There are only x86 and ARM based Chromebooks so to avoid showing up
the config option on unsupported platforms, make the symbol depend on
these architectures. Also add a || COMPILE_TEST so it can have build
coverage on other platforms.
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index dd55c25fb656..5fa21739c54f 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -97,6 +97,7 @@ config MFD_CROS_EC select MFD_CORE select CHROME_PLATFORMS select CROS_EC_PROTO + depends on X86 || ARM || COMPILE_TEST help If you say Y here you get support for the ChromeOS Embedded Controller (EC) providing keyboard, battery and power services. |