From patchwork Sat Dec 9 15:34:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 10103727 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 3555360329 for ; Sat, 9 Dec 2017 15:35:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C4CC29061 for ; Sat, 9 Dec 2017 15:35:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E3352906F; Sat, 9 Dec 2017 15:35:17 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham 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 ABC3429061 for ; Sat, 9 Dec 2017 15:35:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751251AbdLIPfQ (ORCPT ); Sat, 9 Dec 2017 10:35:16 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:44276 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750931AbdLIPfP (ORCPT ); Sat, 9 Dec 2017 10:35:15 -0500 Received: by mail-wr0-f193.google.com with SMTP id l22so13407979wrc.11; Sat, 09 Dec 2017 07:35:14 -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; bh=NtAVh51XiwYAVHdTcpajjFYSAv0hxf99pVYTeRgLj0c=; b=eiM+42WgODhCTeX2QWw+swTFn9H47DDJifKZwiF36xYKXOx33vH0slObkj2QLeXmsa /9xPam8LaFYxh1VxSO1fSUmc/izZn8ABj+m6k0nPRvPcLbaHuysmv86+4JWibMp5/RLE n8tMVCt48sFRrRMxfO1u2ggM33DyuEl4Nst2dschiG1RsgxSNFJJml1WsID9EtmK9Ozf cfsTT2uv48aOctk6chfspLTL3Q68OWZAnqIW3UOWNr047gOLqJY/O51wCfb2edj4vG/Y PElsq+v2Gg6m8oDW+WELK8dYfTn1Vu25QJOL+b/jFyIVd7dNqO7FS3OCU2BjAi6rWuc3 9MUA== 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=NtAVh51XiwYAVHdTcpajjFYSAv0hxf99pVYTeRgLj0c=; b=CP9WExWl2VXFf2bW2homl7ajz+bA3NHDNfv1FShwpUCp2/uB4wkt/x4Me6d6txG1Dx vH5YUHx/y1E+CCgVYK45Yb3o34SzFNVceUB1lkJIRXtOXlKTDVpVhyPlL2606tXPqxbY OGQiGfvjV0y/crscpnC+QbvFWcNqZdkCe4kH/T6ES4PqgvHBDpiRaLj9Y8p+gaI2MaL3 yHUx/oSI98bbKhSF2ea+pJzCPVjWA8eVRknPfIKxIVBEfZflqr0GaD1To91wIhn8hgp5 0Wf8uPzW9R4h0UKM/TF+hDCxHHVpCVqZu8JMO7DOuPItOv0AH9E11gnlrCeaGB1oUdpK BnCQ== X-Gm-Message-State: AJaThX4qfCq/V9kaCgwCVqC2JdT85eI7nAvkt2oGsTxqXInh/qjv8TK+ b3PgzGcdCWXf5lL5pV0nu72J9JWa X-Google-Smtp-Source: AGs4zMbd/TiLC8X1BQyjdoR/TAefGrGwM9ih1egTtpMQrHulWi9LphUlQbiKnEi9PgeoBS/fk6MPng== X-Received: by 10.223.135.59 with SMTP id a56mr29616813wra.173.1512833714122; Sat, 09 Dec 2017 07:35:14 -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 x185sm4307736wmx.12.2017.12.09.07.35.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Dec 2017 07:35:13 -0800 (PST) From: Vincent Legoll To: ohad@wizery.com, bjorn.andersson@linaro.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vincent Legoll Subject: [PATCH] remoteproc: make REMOTEPROC a menuconfig to ease disabling it all Date: Sat, 9 Dec 2017 16:34:58 +0100 Message-Id: <20171209153458.5195-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No need to get into the submenu to disable all related config entries. This makes it easier to disable all REMOTEPROC 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/remoteproc/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index b609e1d3654b..29341c7d836d 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -1,4 +1,7 @@ -menu "Remoteproc drivers" +menuconfig REMOTEPROC_MENU + bool "Remoteproc drivers" + +if REMOTEPROC_MENU config REMOTEPROC tristate "Support for Remote Processor subsystem" @@ -10,8 +13,6 @@ config REMOTEPROC Support for remote processors (such as DSP coprocessors). These are mainly used on embedded systems. -if REMOTEPROC - config IMX_REMOTEPROC tristate "IMX6/7 remoteproc support" depends on SOC_IMX6SX || SOC_IMX7D @@ -140,6 +141,5 @@ config ST_REMOTEPROC config ST_SLIM_REMOTEPROC tristate -endif # REMOTEPROC +endif # REMOTEPROC_MENU -endmenu