linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: linux-gpio@vger.kernel.org
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Alexandre Courbot <gnurou@gmail.com>,
	Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Subject: [PATCH 2/2] gpio-ts5500: Add dependency
Date: Fri, 14 Feb 2014 11:32:14 +0100	[thread overview]
Message-ID: <20140214113214.70ed0b65@endymion.delvare> (raw)
In-Reply-To: <20140214112824.27b98f1d@endymion.delvare>

There is no point in displaying the TS5500-specific driver entries if
TS5500 board support itself isn't enabled.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
Note: a similar patch was sent for the TS5500-specific MTD driver.

 drivers/gpio/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-3.14-rc2.orig/drivers/gpio/Kconfig	2014-02-14 11:21:15.116363700 +0100
+++ linux-3.14-rc2/drivers/gpio/Kconfig	2014-02-14 11:21:51.126174491 +0100
@@ -277,6 +277,7 @@ config GPIO_STA2X11
 
 config GPIO_TS5500
 	tristate "TS-5500 DIO blocks and compatibles"
+	depends on TS5500 || COMPILE_TEST
 	help
 	  This driver supports Digital I/O exposed by pin blocks found on some
 	  Technologic Systems platforms. It includes, but is not limited to, 3

-- 
Jean Delvare
Suse L3 Support

       reply	other threads:[~2014-02-14 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140214112824.27b98f1d@endymion.delvare>
2014-02-14 10:32 ` Jean Delvare [this message]
2014-02-22  2:00   ` [PATCH 2/2] gpio-ts5500: Add dependency Alexandre Courbot
2014-02-27  9:20   ` 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=20140214113214.70ed0b65@endymion.delvare \
    --to=jdelvare@suse.de \
    --cc=gnurou@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=vivien.didelot@savoirfairelinux.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).