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