Skip to content

Commit 2eb3b3f

Browse files
neuschaeferbebarino
authored andcommitted
clk: nxp: Declare mux table parameter as const u32 *
lpc18xx_fill_parent_names's "id" parameter isn't used for writing, so let's make it const. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Link: https://lore.kernel.org/r/20220205103613.1216218-3-j.neuschaefer@gmx.net Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 703da2a commit 2eb3b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/nxp/clk-lpc18xx-cgu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ static struct lpc18xx_cgu_pll_clk lpc18xx_cgu_src_clk_plls[] = {
522522
LPC1XX_CGU_CLK_PLL(PLL1, pll1_src_ids, pll1_ops),
523523
};
524524

525-
static void lpc18xx_fill_parent_names(const char **parent, u32 *id, int size)
525+
static void lpc18xx_fill_parent_names(const char **parent, const u32 *id, int size)
526526
{
527527
int i;
528528

0 commit comments

Comments
 (0)