linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Make TI_ST a menuconfig to ease disabling it all
@ 2017-04-14  9:38 Vincent Legoll
  2017-12-03 10:57 ` [PATCH,v2] " Vincent Legoll
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Legoll @ 2017-04-14  9:38 UTC (permalink / raw)
  To: linux-kernel, arnd, gregkh; +Cc: Vincent Legoll

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

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

* [PATCH,v2] Make TI_ST a menuconfig to ease disabling it all
  2017-04-14  9:38 [PATCH] Make TI_ST a menuconfig to ease disabling it all Vincent Legoll
@ 2017-12-03 10:57 ` Vincent Legoll
  2017-12-03 10:57   ` [PATCH] " Vincent Legoll
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Legoll @ 2017-12-03 10:57 UTC (permalink / raw)
  To: gregkh, linux-kernel


v2: using bool instead of tristate

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

* [PATCH] Make TI_ST a menuconfig to ease disabling it all
  2017-12-03 10:57 ` [PATCH,v2] " Vincent Legoll
@ 2017-12-03 10:57   ` Vincent Legoll
  0 siblings, 0 replies; 3+ messages in thread
From: Vincent Legoll @ 2017-12-03 10:57 UTC (permalink / raw)
  To: gregkh, linux-kernel; +Cc: Vincent Legoll

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 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/misc/ti-st/Kconfig b/drivers/misc/ti-st/Kconfig
index f34dcc514730..f007cfa82b89 100644
--- a/drivers/misc/ti-st/Kconfig
+++ b/drivers/misc/ti-st/Kconfig
@@ -2,10 +2,12 @@
 # TI's shared transport line discipline and the protocol
 # drivers (BT, FM and GPS)
 #
-menu "Texas Instruments shared transport line discipline"
+menuconfig TIST
+	bool "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 +15,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.11.0

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

end of thread, other threads:[~2017-12-03 10:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14  9:38 [PATCH] Make TI_ST a menuconfig to ease disabling it all Vincent Legoll
2017-12-03 10:57 ` [PATCH,v2] " Vincent Legoll
2017-12-03 10:57   ` [PATCH] " Vincent Legoll

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).