mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: linux-kernel@vger.kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org
Cc: Vincent Legoll <vincent.legoll@gmail.com>
Subject: [PATCH] Make TI_ST a menuconfig to ease disabling it all
Date: Fri, 14 Apr 2017 11:38:38 +0200	[thread overview]
Message-ID: <20170414093838.7905-1-vincent.legoll@gmail.com> (raw)

No need to get into the submenu to disable all TI_ST-related config entries

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 drivers/misc/ti-st/Kconfig | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/misc/ti-st/Kconfig b/drivers/misc/ti-st/Kconfig
index f34dcc5..9b297ca 100644
--- a/drivers/misc/ti-st/Kconfig
+++ b/drivers/misc/ti-st/Kconfig
@@ -2,10 +2,13 @@
 # TI's shared transport line discipline and the protocol
 # drivers (BT, FM and GPS)
 #
-menu "Texas Instruments shared transport line discipline"
+
+menuconfig TIST
+	tristate "Texas Instruments shared transport line discipline"
+
 config TI_ST
 	tristate "Shared transport core driver"
-	depends on NET && GPIOLIB && TTY
+	depends on TIST && NET && GPIOLIB && TTY
 	select FW_LOADER
 	help
 	  This enables the shared transport core driver for TI
@@ -13,5 +16,3 @@ config TI_ST
 	  to register themselves with core and send data, the responses
 	  are returned to relevant protocol drivers based on their
 	  packet types.
-
-endmenu
-- 
2.9.3

             reply	other threads:[~2017-04-14  9:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-14  9:38 Vincent Legoll [this message]
2017-12-03 10:57 ` [PATCH,v2] " Vincent Legoll
2017-12-03 10:57   ` [PATCH] " Vincent Legoll

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=20170414093838.7905-1-vincent.legoll@gmail.com \
    --to=vincent.legoll@gmail.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.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®