Message ID | 20180103200114.23922-17-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 2D98660594 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 3 Jan 2018 20:10:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20035292C4 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 3 Jan 2018 20:10:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14AE7292D5; Wed, 3 Jan 2018 20:10:21 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8159C292C4 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 3 Jan 2018 20:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=v/r7ivxc9BoePLqh3TyR/sVwpwvjVYe+mJFfLUnTyvE=; b=sW533d0mWdmP64tAOu1Z51r/Zc xJPjBqYHeM9gSiOJv+UaIJrqTUQRoSy+3YWJkd6dFIzpTEhUVa2hyWtHDWIHCjc2MLgVRoXOSzx+x Hw5Vo3WL3A7N10VKF8pNzvj/Bpqz3sAZ6ybZ1vQ0MogFfPr2Kvf9lrLcdL5zyH8Ke6pzSDyuIJrjk 2EQ52w1xTo77eOJt6z0PjHzZX6R+jPBFZbr42cJaaAc4o955SCGeg0OMzpqzeweKZWZXLtbmlHMma T4t4XbPrvfuWI6PlMgXU94xdSgyWzUt8b4eduadiB0rlpdG8K57bRfJ1BivloqGBQZLrY/aNcdrlV hSZqd2uw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eWpMe-0002g1-7E; Wed, 03 Jan 2018 20:10:16 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eWpES-0004dz-1a; Wed, 03 Jan 2018 20:02:35 +0000 Received: by mail-pf0-x243.google.com with SMTP id d23so1166825pfe.9; Wed, 03 Jan 2018 12:01:39 -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=pmagvljZEITiS5D6yhQo80RjbK7a4x+O5Ul84GnA6gg=; b=gAGbIq8keKG+JR+vQf4pefVd4Msxr/Cwv2dJ5Vrd/ADKl8M0014csFebLNAzcqmCtz vBJvkFA/2gjViuAT+dh45j6rANMW/6hZt9QHOFGzoTVDf3qFtlG7LtdIbXKCf4PVXXVN Se+v5nMN8whbFkO8GDy61dkoasioPOOvhQgsmZQGZq1fhAHEV5dxRMfnc0jMVe38fVnb zdIhH1r54JAHbvY2+1kHj+4RXfQIo61M/tv1Y63N7kM/aGL5gBZNTJp8UiP7QcJqDPWc aKkaL3puf0H4hPnWcZ659MeoSKQnJQtobWv/VM0BGFun4CoCOcKHfv4KmYw7/t0HZzw0 3Yxg== 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=pmagvljZEITiS5D6yhQo80RjbK7a4x+O5Ul84GnA6gg=; b=hgdO+fxIfF/8jNv104/03w3rwz8vg4F7rRBXT7sWWFKhpGbxYZnzxII3a3LrdKw08a p6wrJN/uDq7EtIPrkzBGrGTXUCFBcbOaCx2Wz2zXV+L2bGZSwDFOiztLJnukjPCKPF+A s6m3TAkM5TpgI1IIW3M23LjsMytppnwMzUvokgod2qjSKObGwtPwhOrMn6Pg/VwueUK0 7z04IYDHvzhamEvV3ndOG0r6mkVQIr7YOAylCT3MXZ6qB4sgIjc+wE2+fxDApS55lC2V ufRoeJUAL8gM4KEGkuCji6qM8ZKIUT4YmpDZ9eLOHkLKsuLK7Uv2N26TdveHkV54meFU QfNA== X-Gm-Message-State: AKGB3mLuoTjK0kgLjNqgfVWMCEsx0l3G2yAOBjig5WvXIk06NIY4Nuer rYP81P5hjryy1m3yhCv4eWk= X-Google-Smtp-Source: ACJfBotg9SkEy9lFhhYWoHna5dcz6tNAXY+rprBiEsEAEjNjSuQ+itkwOBcdMyHCj8dTGiGqStVg1w== X-Received: by 10.98.224.200 with SMTP id d69mr2495130pfm.100.1515009698488; Wed, 03 Jan 2018 12:01:38 -0800 (PST) Received: from squirtle.westlake.spaceflightindustries.com ([173.226.206.194]) by smtp.gmail.com with ESMTPSA id b9sm4542209pfl.108.2018.01.03.12.01.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Jan 2018 12:01:37 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH v3 16/22] nvmem: meson-efuse: Do no gate COMPILE_TEST with MESON_SM Date: Wed, 3 Jan 2018 12:01:08 -0800 Message-Id: <20180103200114.23922-17-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180103200114.23922-1-andrew.smirnov@gmail.com> References: <20180103200114.23922-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180103_120148_890993_DD1042DC X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Heiko Stuebner <heiko@sntech.de>, linux-rockchip@lists.infradead.org, Andrey Smirnov <andrew.smirnov@gmail.com>, Kevin Hilman <khilman@baylibre.com>, linux-kernel@vger.kernel.org, Masahiro Yamada <yamada.masahiro@socionext.com>, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger <matthias.bgg@gmail.com>, linux-amlogic@lists.infradead.org, Carlo Caione <carlo@caione.org>, cphealy@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index ff505af064ba..42e84e1b2a26 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -147,7 +147,7 @@ config NVMEM_VF610_OCOTP config MESON_EFUSE tristate "Amlogic Meson GX eFuse Support" - depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM + depends on (ARCH_MESON && MESON_SM) || COMPILE_TEST help This is a driver to retrieve specific values from the eFuse found on the Amlogic Meson GX SoCs.
Being able to build this driver when COMPILE_TEST is selected is still useful even when MESON_SM is not selected, since selecting this driver as a module and doing "make modules" will result in successful build and would detect trivial coding errors. For an example of type of errors that could be prevented see [1] and [2] [1] lkml.kernel.org/r/20171227225956.14442-12-andrew.smirnov@gmail.com [2] https://marc.info/?l=linux-arm-kernel&m=151461599104358&w=2 Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Heiko Stuebner <heiko@sntech.de> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Carlo Caione <carlo@caione.org> Cc: Kevin Hilman <khilman@baylibre.com> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: cphealy@gmail.com Cc: linux-kernel@vger.kernel.org Cc: linux-mediatek@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> --- drivers/nvmem/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)