Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623605 > unrolled thread

[PATCH] Make TI_ST a menuconfig to ease disabling it all

Started byVincent Legoll <vincent.legoll@gmail.com>
First post2017-04-14 11:40 +0200
Last post2017-04-14 11:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] Make TI_ST a menuconfig to ease disabling it all Vincent Legoll <vincent.legoll@gmail.com> - 2017-04-14 11:40 +0200

#1623605 — [PATCH] Make TI_ST a menuconfig to ease disabling it all

FromVincent Legoll <vincent.legoll@gmail.com>
Date2017-04-14 11:40 +0200
Subject[PATCH] Make TI_ST a menuconfig to ease disabling it all
Message-ID<tw5RT-7Pb-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web