diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2015-02-27 00:37:49 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-03-04 14:29:45 -0500 |
commit | 8ce580932f8ee40903017a6f1408ccfff319a6a5 (patch) | |
tree | 7f866d9ea05a6be6cfd1183417ee009f3be77fa8 /drivers/platform | |
parent | 18d0dc24661b42c03074fc89bc89bc0f7c63d2bc (diff) |
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 <javier.martinez@collabora.co.uk>
[olof: reworded commit message]
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/chrome/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
49 | 49 | ||
50 | config CROS_EC_LPC | 50 | config CROS_EC_LPC |
51 | tristate "ChromeOS Embedded Controller (LPC)" | 51 | tristate "ChromeOS Embedded Controller (LPC)" |
52 | depends on MFD_CROS_EC | 52 | depends on MFD_CROS_EC && (X86 || COMPILE_TEST) |
53 | help | 53 | help |
54 | If you say Y here, you get support for talking to the ChromeOS EC | 54 | If you say Y here, you get support for talking to the ChromeOS EC |
55 | over an LPC bus. This uses a simple byte-level protocol with a | 55 | over an LPC bus. This uses a simple byte-level protocol with a |