linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 6/7] clk: qcom: Declare mux table as const u32[]
       [not found] <20220205103613.1216218-1-j.neuschaefer@gmx.net>
@ 2022-02-05 10:36 ` Jonathan Neuschäfer
  2022-02-26  1:02   ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Neuschäfer @ 2022-02-05 10:36 UTC (permalink / raw)
  To: linux-clk
  Cc: linux-arm-kernel, linux-kernel, Jonathan Neuschäfer,
	Bjorn Andersson, Andy Gross, Michael Turquette, Stephen Boyd,
	linux-arm-msm

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(-)

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,
 };
--
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 6/7] clk: qcom: Declare mux table as const u32[]
  2022-02-05 10:36 ` [PATCH v2 6/7] clk: qcom: Declare mux table as const u32[] Jonathan Neuschäfer
@ 2022-02-26  1:02   ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2022-02-26  1:02 UTC (permalink / raw)
  To: Jonathan Neuschäfer, linux-clk
  Cc: linux-arm-kernel, linux-kernel, Jonathan Neuschäfer,
	Bjorn Andersson, Andy Gross, Michael Turquette, linux-arm-msm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-26  1:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220205103613.1216218-1-j.neuschaefer@gmx.net>
2022-02-05 10:36 ` [PATCH v2 6/7] clk: qcom: Declare mux table as const u32[] Jonathan Neuschäfer
2022-02-26  1:02   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).