linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: Linus Walleij <linus.walleij@linaro.org>,
	linux-gpio@vger.kernel.org,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Peter Robinson <pbrobinson@gmail.com>
Subject: [PATCH 2/2] pinctrl: AMD: depend on Seattle or x86
Date: Sun, 27 Dec 2015 12:22:52 +0000	[thread overview]
Message-ID: <1451218972-22156-3-git-send-email-pbrobinson@gmail.com> (raw)
In-Reply-To: <1451218972-22156-1-git-send-email-pbrobinson@gmail.com>

Add a dependency on the ARM64 Seatle SoC or generic x86 so we're not
prompted if we enable pinctrl for another platform.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/pinctrl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 312c78b..e02d1d4 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -80,7 +80,7 @@ config PINCTRL_AT91PIO4
 
 config PINCTRL_AMD
 	bool "AMD GPIO pin control"
-	depends on GPIOLIB
+	depends on GPIOLIB && (ARCH_SEATTLE || X86_GENERIC || COMPILE_TEST)
 	select GPIOLIB_IRQCHIP
 	select PINCONF
 	select GENERIC_PINCONF
-- 
2.5.0


  parent reply	other threads:[~2015-12-27 12:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27 12:22 pinctrl: adjust dependencies closer to arch/SoC Peter Robinson
2015-12-27 12:22 ` [PATCH 1/2] pinctrl: intel: on enable on x86 arches and COMPILE_TEST Peter Robinson
2015-12-28 12:00   ` Mika Westerberg
2015-12-28 12:13     ` Peter Robinson
2015-12-28 12:37       ` Mika Westerberg
2015-12-27 12:22 ` Peter Robinson [this message]
2016-01-05 14:58   ` [PATCH 2/2] pinctrl: AMD: depend on Seattle or x86 Linus Walleij

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=1451218972-22156-3-git-send-email-pbrobinson@gmail.com \
    --to=pbrobinson@gmail.com \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).