linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] platform/chrome: wilco_ec: Allow wilco to be compiled in COMPILE_TEST
@ 2020-01-22  1:24 Stephen Boyd
  2020-01-23 19:44 ` Benson Leung
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Boyd @ 2020-01-22  1:24 UTC (permalink / raw)
  To: Benson Leung, Enric Balletbo i Serra; +Cc: linux-kernel

Enable this Kconfig on COMPILE_TEST enabled configs so we can get more
build coverage.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
---
 drivers/platform/chrome/wilco_ec/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/platform/chrome/wilco_ec/Kconfig b/drivers/platform/chrome/wilco_ec/Kconfig
index 365f30e116ee..49e8530ca0ac 100644
--- a/drivers/platform/chrome/wilco_ec/Kconfig
+++ b/drivers/platform/chrome/wilco_ec/Kconfig
@@ -1,7 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config WILCO_EC
 	tristate "ChromeOS Wilco Embedded Controller"
-	depends on ACPI && X86 && CROS_EC_LPC && LEDS_CLASS
+	depends on X86 || COMPILE_TEST
+	depends on ACPI && CROS_EC_LPC && LEDS_CLASS
 	help
 	  If you say Y here, you get support for talking to the ChromeOS
 	  Wilco EC over an eSPI bus. This uses a simple byte-level protocol
-- 
Sent by a computer, using git, on the internet


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] platform/chrome: wilco_ec: Allow wilco to be compiled in COMPILE_TEST
  2020-01-22  1:24 [PATCH] platform/chrome: wilco_ec: Allow wilco to be compiled in COMPILE_TEST Stephen Boyd
@ 2020-01-23 19:44 ` Benson Leung
  0 siblings, 0 replies; 2+ messages in thread
From: Benson Leung @ 2020-01-23 19:44 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: Benson Leung, Enric Balletbo i Serra, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]

Hi Stephen,

On Tue, Jan 21, 2020 at 05:24:34PM -0800, Stephen Boyd wrote:
> Enable this Kconfig on COMPILE_TEST enabled configs so we can get more
> build coverage.
> 
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>

Applied to our for-next. Thanks!

> ---
>  drivers/platform/chrome/wilco_ec/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/platform/chrome/wilco_ec/Kconfig b/drivers/platform/chrome/wilco_ec/Kconfig
> index 365f30e116ee..49e8530ca0ac 100644
> --- a/drivers/platform/chrome/wilco_ec/Kconfig
> +++ b/drivers/platform/chrome/wilco_ec/Kconfig
> @@ -1,7 +1,8 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  config WILCO_EC
>  	tristate "ChromeOS Wilco Embedded Controller"
> -	depends on ACPI && X86 && CROS_EC_LPC && LEDS_CLASS
> +	depends on X86 || COMPILE_TEST
> +	depends on ACPI && CROS_EC_LPC && LEDS_CLASS
>  	help
>  	  If you say Y here, you get support for talking to the ChromeOS
>  	  Wilco EC over an eSPI bus. This uses a simple byte-level protocol
> -- 
> Sent by a computer, using git, on the internet
> 

-- 
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@google.com
Chromium OS Project
bleung@chromium.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-23 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22  1:24 [PATCH] platform/chrome: wilco_ec: Allow wilco to be compiled in COMPILE_TEST Stephen Boyd
2020-01-23 19:44 ` Benson Leung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).