Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752305AbdLDW2Q (ORCPT ); Mon, 4 Dec 2017 17:28:16 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:44071 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961AbdLDW2K (ORCPT ); Mon, 4 Dec 2017 17:28:10 -0500 X-Google-Smtp-Source: AGs4zMZr8dlWXXZP9vMes0PxtCkRLP3oc2RcaG2ZxR4uhg3baAhIYdwtcEpzr3IxY9AjJLnQR7nYlg== From: Vincent Legoll To: m@bues.ch, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vincent Legoll Subject: [PATCH] ssb: make SSB a menuconfig to ease disabling it all Date: Mon, 4 Dec 2017 23:27:44 +0100 Message-Id: <20171204222744.8817-2-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171204222744.8817-1-vincent.legoll@gmail.com> References: <87efoan76r.fsf@purkki.adurom.net> <20171204222744.8817-1-vincent.legoll@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1094 Lines: 48 No need to get into the submenu to disable all SSB-related config entries. This makes it easier to disable all SSB config options without entering the submenu. It will also enable one to see that en/dis-abled state from the outside menu. This is only intended to change menuconfig UI, not change the config dependencies. Signed-off-by: Vincent Legoll --- drivers/ssb/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig index d8e4219c2324..f48a2ee587a4 100644 --- a/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig @@ -3,10 +3,7 @@ config SSB_POSSIBLE depends on HAS_IOMEM && HAS_DMA default y -menu "Sonics Silicon Backplane" - depends on SSB_POSSIBLE - -config SSB +menuconfig SSB tristate "Sonics Silicon Backplane support" depends on SSB_POSSIBLE help @@ -21,6 +18,8 @@ config SSB If unsure, say N. +if SSB + # Common SPROM support routines config SSB_SPROM bool @@ -185,4 +184,4 @@ config SSB_DRIVER_GPIO If unsure, say N -endmenu +endif # SSB -- 2.11.0