From: Javier Martinez Canillas Date: Fri, 27 Feb 2015 05:37:49 +0000 (+0100) Subject: platform/chrome: cros_ec_lpc - Depend on X86 || COMPILE_TEST X-Git-Tag: omap-for-v4.1/fixes-rc1~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ce580932f8ee40903017a6f1408ccfff319a6a5;p=pandora-kernel.git platform/chrome: cros_ec_lpc - Depend on X86 || COMPILE_TEST The ChromeOS EC is connected by LPC only on x86 platforms and no others, so add a dependency describing that. But also build the driver if the COMPILE_TEST option is enabled to have build coverage in other architectures. Signed-off-by: Javier Martinez Canillas [olof: reworded commit message] Signed-off-by: Olof Johansson --- diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig index d4befbffae85..2a6531a5fde8 100644 --- a/drivers/platform/chrome/Kconfig +++ b/drivers/platform/chrome/Kconfig @@ -49,7 +49,7 @@ config CROS_EC_CHARDEV config CROS_EC_LPC tristate "ChromeOS Embedded Controller (LPC)" - depends on MFD_CROS_EC + depends on MFD_CROS_EC && (X86 || COMPILE_TEST) help If you say Y here, you get support for talking to the ChromeOS EC over an LPC bus. This uses a simple byte-level protocol with a