]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "platform/chrome: Don't make CHROME_PLATFORMS depends on X86 || ARM"
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 19 Aug 2015 11:19:54 +0000 (13:19 +0200)
committerOlof Johansson <olof@lixom.net>
Wed, 7 Oct 2015 21:34:25 +0000 (14:34 -0700)
This reverts commit d12bbcd3ea44 ("platform/chrome: Don't make
CHROME_PLATFORMS depends on X86 || ARM") since it was found to
not be the correct fix for the MFD_CROS_EC config unmet direct
dependencies warning.

The correct solution was to add the needed dependencies to the
MFD_CROS_EC symbol. Besides the revert, this patch extends the
CHROME_PLATFORMS symbol dependencies and adds || COMPILE_TEST
to allow drivers to have build coverage on other architectures.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/Kconfig

index 3271cd1abe7c0e6c5d2e813171aa5df494f9d977..21f4ea6c6c21f54b069b548c1b61b4aa573e49be 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig CHROME_PLATFORMS
        bool "Platform support for Chrome hardware"
+       depends on X86 || ARM || COMPILE_TEST
        ---help---
          Say Y here to get to see options for platform support for
          various Chromebooks and Chromeboxes. This option alone does