clk: qcom: Declare mux table as const u32[]
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sat, 5 Feb 2022 10:36:12 +0000 (11:36 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sat, 26 Feb 2022 00:41:39 +0000 (16:41 -0800)
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>
Link: https://lore.kernel.org/r/20220205103613.1216218-7-j.neuschaefer@gmx.net
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/kpss-xcc.c

index 4fec1f9..88d4b33 100644 (file)
@@ -17,7 +17,7 @@ static const char *aux_parents[] = {
        "pxo",
 };
 
-static unsigned int aux_parent_map[] = {
+static const u32 aux_parent_map[] = {
        3,
        0,
 };