]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: cros_ec_lpc - Depend on X86 || COMPILE_TEST
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Fri, 27 Feb 2015 05:37:49 +0000 (06:37 +0100)
committerOlof Johansson <olof@lixom.net>
Wed, 4 Mar 2015 19:29:45 +0000 (11:29 -0800)
commitc75a96eeaba5b1659702dafdecfe4388756354c9
tree7f866d9ea05a6be6cfd1183417ee009f3be77fa8
parentcb5b448f47bf5ffaf9acb2e83b4d59bbd8d1fee4
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>
drivers/platform/chrome/Kconfig