diff mbox series

[v2,6/7] clk: qcom: Declare mux table as const u32[]

Message ID 20220205103613.1216218-7-j.neuschaefer@gmx.net (mailing list archive)
State Accepted, archived
Headers show
Series clk: Declare mux tables as const u32[] | expand

Commit Message

J. Neuschäfer Feb. 5, 2022, 10:36 a.m. UTC
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

Comments

Stephen Boyd Feb. 26, 2022, 1:02 a.m. UTC | #1
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 mbox series

Patch

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