Message ID | 20220205103613.1216218-7-j.neuschaefer@gmx.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F7BAC433F5 for <linux-arm-kernel@archiver.kernel.org>; Sat, 5 Feb 2022 10:39:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BRjBCaCHd5WyA6A/smwuT4tvmxB0/yG2Oqq6i3cLrEM=; b=nUNKKWydhWI70y FjrD528ad/VkUXJqeSIMDQH/KmjcpI4in9aApFoaeKVQos1Q/e3ZcWvgQDWyEeGtjW8vhgM5SmimT CfLcITOUrs8KBjETKVjVxx4fB1MNLWMPJspnVOjxRzASoDTDh6IdcwC98n4Fu488IukOqKxiGudQE Ww9f3/3RdzlNhBVJtZ6zHJIl9cVCsHkHMC8Iya3HsYLhSl7osxbs9hDA9jEDOu+U0qojyDMRmwLpt No0U4NmRK5/zlxF0j0yZuCWqVPuA4k2JmamW+vnCmkPwv81+QZcfcgl7Pv01t4wc1MX5Ci0XohkIN 0YAQfkz8LXQopMgXY/8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGIS9-006M2w-CT; Sat, 05 Feb 2022 10:38:01 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGIQz-006LYD-Go for linux-arm-kernel@lists.infradead.org; Sat, 05 Feb 2022 10:36:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644057404; bh=un66HwMXzx1+JWKGj3Ie+e7wbnjBXvxVWjU+DYbV0ps=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=b0dHsqC2bTTP6Auv031hNteHBdcxWqgiNdTM/Gulghm8yGwYXtp7dG6F+kMV2zsa1 frrRVosWIJSALbBxc+atyIdgkrpogUKQRWQBnNSdGYtYBTNxE1E/GrBSvw7+QnNVrj 3L+CmDJyu/CRb6MOg5CQ0FGLN1RGFkpNVSmSYC40= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([5.146.194.160]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MUowb-1mq8b72tRB-00QhUl; Sat, 05 Feb 2022 11:36:44 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net> To: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net>, Bjorn Andersson <bjorn.andersson@linaro.org>, Andy Gross <agross@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 6/7] clk: qcom: Declare mux table as const u32[] Date: Sat, 5 Feb 2022 11:36:12 +0100 Message-Id: <20220205103613.1216218-7-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220205103613.1216218-1-j.neuschaefer@gmx.net> References: <20220205103613.1216218-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:fxvWhth2K2e6hWUBAb7ugpC0GFHmNxb4qSUdCbpXl9hEenG/ZyC x3mNaHkDMCIW/wP2NYIClOXktUsfwIsfXOV5xup1MIHgcZHMMYsJqKtHhTaF/MonDN8gjGH f2Ie0DzocHOecH2Q2qxo5rpGvPYxkhOm3Ws8xhNMiKMlZSkzWQDjSa8v+l4nIXAVLfrgV3o 4HIlwg9JibRc4oeqv2yxw== X-UI-Out-Filterresults: notjunk:1;V03:K0:fqEniijzM18=:4yD3sWjBxqkHBCmqdtYOMm yVZ5gOB4oPSQhfv/je9cWReRnlmZE0pJguTyKh1JYCg86/zQW99d9w6HS/u1H3RAv7vAwO1Zn qE8IRO87NBlkVwFJSuVWaKPcfJooXB0MG7DsQddt2YM80uxewPDoIWnJGhehwC8IPCgDC7h1T x0BTj/Q6/ZLeRv1FgIQX/3SxGQiZ5FBFBdnHyCdp5FCZcLZQahN2+PR4gaWvAgwEQq9CZRGug 7OkLI275/PHoI7VBtkf7A0wR6HbIClf7NhT4xbGnC4L1OtdaJxCrypCv0PLFLUd5xlGE9fyqQ J+r1kbFXiAV+Ojf+/e/ExA+SD+TVGhWN3p5cOjJqNXcDVUYnkvpaOSBhGfDwp7hdQQTIXweif 5BFZS0tJsYMo9vaJ/3N/79RCIoDHM7jv1GhViZGQc1Fkx2jwqhcLRR1RjGppaNo2EYtYi/cG+ Y5013/SJrkYpJR0eGFtEkz6KxkRg02mPaKm4OHKA6KQGWN6vEC45jEI8iEcBm52HkdJFYYCTd 62bjM9P3p+l4s1BrMbLa6UBT12G2I8S7IsjxxzgsJ36lmWYthZeEh6zlChPOyxMYtGAkhZD/T pQzuSKWn4aRp6K5va99+ezxDstqPwoc3Bpg9RxG7vQKJ0MmeP2wn8sOzjDPYzIc+AskdxjEZh mH3F4xxM+hfWRenoN84xsW/V9Ah1EQdkEBz9+GoNgePuOdqZXAA1dsceP/ajZ8BKlEDdxDPkc dlhiXTGz4CbUB2l7U4t/xQpB3CIB0R8KAs8N+uncIBSl+U9llTvjQFnzmMGa7CGUyHw4Jjw9j y6IWJwS00bRY13utKPlxQTc5gaYqSSdALM/0BHBeQ2I08Pk5HqAWKCswYC6aw2VxZ+chMwiaU gKpPUIciBo1uTmNpQ+7GmOtEezYVtsHDnBfiMpnWYz/8WimJcc9nNR4Lp7sxCtpa8mjfiPvMf aX6ZjdsakdF+3h88EBV6cqzEYfx5Pf4o5abexggVOsGeV3+CGh9/mT2PspF+sEuoF3C5nOnd1 bNQgGAZxjSJq/Qe2+KldgRNFU5uLxPV7SbHkCqC4PsP8mm58Cw8RfAVqckc2hbUuR4Baqs/8D djOThNPikw7xP0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220205_023649_896623_097E8EE0 X-CRM114-Status: GOOD ( 11.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 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> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
clk: Declare mux tables as const u32[]
|
expand
|
Quoting Jonathan Neuschäfer (2022-02-05 02:36:12) > Now that clk_register_mux_table takes a const u32 *, we can declare the > mux tables as const u32[]. > > Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> > --- Applied to clk-next
diff --git a/drivers/clk/qcom/kpss-xcc.c b/drivers/clk/qcom/kpss-xcc.c index 4fec1f9142b82..88d4b33ac0cc3 100644 --- a/drivers/clk/qcom/kpss-xcc.c +++ b/drivers/clk/qcom/kpss-xcc.c @@ -17,7 +17,7 @@ static const char *aux_parents[] = { "pxo", }; -static unsigned int aux_parent_map[] = { +static const u32 aux_parent_map[] = { 3, 0, };
Now that clk_register_mux_table takes a const u32 *, we can declare the mux tables as const u32[]. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> --- v2: - no changes --- drivers/clk/qcom/kpss-xcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1