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


Groups > linux.kernel > #1623605

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

Path csiph.com!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod
From Vincent Legoll <vincent.legoll@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] Make TI_ST a menuconfig to ease disabling it all
Date Fri, 14 Apr 2017 11:40:01 +0200
Message-ID <tw5RT-7Pb-1@gated-at.bofh.it> (permalink)
X-Original-To linux-kernel@vger.kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pejtIMGI+FsUKSmXHlBvnRpbbH38j/Hdr98Mdy0f0oY=; b=DdadwWPBggXgzs9/rQ/nCm5Xykz8zKTa3UMUcah8DtK+XOh1uPzZtbiD/L955hkxMc zixskZqTD6xpUzS69WjTQehrcxdHX4WwZlHpoZItWhLlvwupieCNyt9RGOQ00oy9dxS5 KXvc6ZYwEwnXFD0vr6Wz0+vR4KksRx9DBKO80I2iv47Z+1HcKaAKCFxKsJICkU52Gun7 NzhVi4zS9ZgpkB2apE11BncswYlKP0xnekdWWmVFC8MRb0gVNzc7T9dPfBXY5dxlgUbZ StHshI3MTvJEopWpBFs2czAZEMRrsrNjZazgroiUtDylcqjw6T6vY2OqFxz7M4qgwtFI 6agg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pejtIMGI+FsUKSmXHlBvnRpbbH38j/Hdr98Mdy0f0oY=; b=LI4qIzbYmSApuw0zc2Mqr6EYcu++DVKNZRXtlynBiABI3RDoZFsTziyiakeM7KCve8 ZoKvAfc+3amZdd9CInxa5evIo0CnURe+4DfJlQ/kZahxDtbEHrXrWUp7OGTU+LgZg9xx 6Vdad+jW1vaEVa8cNFBl3zu+UIFsch8sqR8ynensiIzU6VPc0Roubu+qiTCjKIMDuqMZ PhXIRKu+jB3mjreED4i7zIzMNboqZWpf7fh9dTVNkpfnMs7Pj7q6de7b/rwhmzZS0Hgg Iinp7/EvTEOLGI3kaHz6JJ7iinTZU8E6I344OTrHA5HvZMCquKo8zFT0+1W/ondYWCoj B5AQ==
X-Gm-Message-State AN3rC/4GbqmpxWUT0KQT/GBhT1/X7ZzuVy9kEhLZPVYnQDVZNcnRcm63 nFULI/d/aZSVBgQqpVU=
X-Received by 10.223.161.222 with SMTP id v30mr7109575wrv.132.1492162735915; Fri, 14 Apr 2017 02:38:55 -0700 (PDT)
X-Mailer git-send-email 2.9.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
X-Original-Cc Vincent Legoll <vincent.legoll@gmail.com>
X-Original-Date Fri, 14 Apr 2017 11:38:38 +0200
X-Original-Message-ID <20170414093838.7905-1-vincent.legoll@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1623605

Show key headers only | View 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web