mfd: Add MFD_CROS_EC dependencies
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 19 Aug 2015 11:19:53 +0000 (13:19 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 24 Aug 2015 14:15:31 +0000 (15:15 +0100)
commitb9124a523017a53cce071451f5c38a0b77761534
tree6e43456e3d4008fc1e8b94526a196125a7d2ee82
parentda935c0b6eeeac16de0a82cc1152fb0a9b5a11ef
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>
drivers/mfd/Kconfig
This page took 0.027127 seconds and 5 git commands to generate.