Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753383AbdDNJjA (ORCPT ); Fri, 14 Apr 2017 05:39:00 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:33936 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751528AbdDNJi5 (ORCPT ); Fri, 14 Apr 2017 05:38:57 -0400 From: Vincent Legoll To: linux-kernel@vger.kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org Cc: Vincent Legoll Subject: [PATCH] Make TI_ST a menuconfig to ease disabling it all Date: Fri, 14 Apr 2017 11:38:38 +0200 Message-Id: <20170414093838.7905-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 35 No need to get into the submenu to disable all TI_ST-related config entries Signed-off-by: Vincent Legoll --- 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