From: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
To: Olof Johansson <olof@lixom.net>
Cc: Doug Anderson <dianders@chromium.org>,
Bill Richardson <wfrichar@chromium.org>,
Simon Glass <sjg@google.com>,
Gwendal Grignou <gwendal@google.com>,
Fengguang Wu <fengguang.wu@intel.com>,
linux-kernel@vger.kernel.org,
Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Subject: [PATCH 2/3] platform/chrome: cros_ec_lpc - Depend on X86 || COMPILE_TEST
Date: Fri, 27 Feb 2015 06:37:49 +0100 [thread overview]
Message-ID: <1425015470-4846-3-git-send-email-javier.martinez@collabora.co.uk> (raw)
In-Reply-To: <1425015470-4846-1-git-send-email-javier.martinez@collabora.co.uk>
The Low Pin Count bus was introduced by Intel and is only used
in x86 computers so it should depend on the X86 Kconfig option.
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>
---
drivers/platform/chrome/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.1.3
next prev parent reply other threads:[~2015-02-27 5:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 5:37 [PATCH 0/3] platform/chrome: cros_ec_lpc - Build fixes Javier Martinez Canillas
2015-02-27 5:37 ` [PATCH 1/3] platform/chrome: cros_ec_lpc - Include linux/io.h header file Javier Martinez Canillas
2015-02-27 5:37 ` Javier Martinez Canillas [this message]
2015-03-02 13:45 ` [PATCH 2/3] platform/chrome: cros_ec_lpc - Depend on X86 || COMPILE_TEST One Thousand Gnomes
2015-03-02 13:58 ` Javier Martinez Canillas
2015-03-04 19:27 ` Olof Johansson
2015-02-27 5:37 ` [PATCH 3/3] platform/chrome: cros_ec_lpc - Drop owner assignment Javier Martinez Canillas
2015-03-04 19:29 ` Olof Johansson
2015-03-04 20:24 ` Javier Martinez Canillas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1425015470-4846-3-git-send-email-javier.martinez@collabora.co.uk \
--to=javier.martinez@collabora.co.uk \
--cc=dianders@chromium.org \
--cc=fengguang.wu@intel.com \
--cc=gwendal@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
--cc=sjg@google.com \
--cc=wfrichar@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®