From patchwork Mon Dec 4 22:27:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 10091683 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 811EF6035E for ; Mon, 4 Dec 2017 22:28:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7425429272 for ; Mon, 4 Dec 2017 22:28:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68FD229338; Mon, 4 Dec 2017 22:28:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 173C829272 for ; Mon, 4 Dec 2017 22:28:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752211AbdLDW2O (ORCPT ); Mon, 4 Dec 2017 17:28:14 -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 Received: by mail-wm0-f68.google.com with SMTP id t8so8647134wmc.3; Mon, 04 Dec 2017 14:28:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gMPgvX5Jaq7X7Ki8HV3UcO/424w06cdgNVP8TkmSz08=; b=fKU7g3S2Ezek+P1sRpFt2l8sZjEs6y1zZSz3IsTMkAlMHVuVdc+vfA+DlF4NsFeIxp thSvh7BrsLMSUeSzv6MpmbACpbX+b1bX2jrj30lJ65CtK2vjM52vZ1BQdD+ujYUTtgJV WbrZJx3h0oWC/hxWWiCovJl9KGGMqvSxgiGKCG/XXoHFrWc76OZhNHkcmETNLM7O1i9A HOsBFM8JVXHRy9LUqB4JtVebj5RgWmgrDjk3zHa5dKY8tWVS2HAdHyedQyF31TshOVyx Nhmt+L/fhTfGudT8vbp8NYNummhw8egEugjfc6CEAjuQ0Hyf+bCfO5t2ZQk/4S6sTkCG Jo+g== 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:in-reply-to :references; bh=gMPgvX5Jaq7X7Ki8HV3UcO/424w06cdgNVP8TkmSz08=; b=mp+Rxn5j5/mkphVYQNucIfeCYMP6N70dXTiwNL34MiM3+Me713lEzlRoRMFtAnlYyz fyDqol1JkPkaHdI/+yGEuiYIbjokDoDnaas0XfuU6wABiEhuYpsyfZO7jOXXchXgcpSz lU1ujvuDVl0pXUUsHAnwg4l2Dq90EBDQZu4intMJcnxGRANnB1OSsYhuRfU9zRiBWvt7 U4SdCEr2I+ECWtHi84XOF6RzKCQ99rf/EeUdi1QEt1KE9YalbdGtuWahnl9ite/+wMK0 b0KMUzboKTFDjyyjiaecQ7KXNWL5Z6Ra4T14/iL95wWJ/rdMs4KmI0ojT0hD71nVks/1 uW6g== X-Gm-Message-State: AKGB3mKedmDq0IWZ7yzf8/U2J5BuO7z/CmyH47mN8ti1q+YqLobyP2K8 SAhQerjNeTwqWeP+bCJMcb23Wg== X-Google-Smtp-Source: AGs4zMZr8dlWXXZP9vMes0PxtCkRLP3oc2RcaG2ZxR4uhg3baAhIYdwtcEpzr3IxY9AjJLnQR7nYlg== X-Received: by 10.28.2.198 with SMTP id 189mr4351089wmc.69.1512426488892; Mon, 04 Dec 2017 14:28:08 -0800 (PST) Received: from localhost.localdomain (se167-2-88-172-169-60.fbx.proxad.net. [88.172.169.60]) by smtp.gmail.com with ESMTPSA id n14sm8472149wmh.37.2017.12.04.14.28.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 14:28:08 -0800 (PST) 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-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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