]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: lan966x: make clk_names const char * const
authorDaniel Machon <daniel.machon@microchip.com>
Mon, 16 Sep 2024 09:49:20 +0000 (11:49 +0200)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sun, 13 Oct 2024 16:18:58 +0000 (19:18 +0300)
Change clk_names to const char * const to silence checkpatch in
subsequent patches.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://lore.kernel.org/r/20240916-lan969x-clock-v1-2-0e150336074d@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
drivers/clk/clk-lan966x.c

index 870fd7df50c1f0d5f4a28e6d68cfe02ae0031421..4dbd4eb0e5077b6552f94ee19623e053eb17ffe7 100644 (file)
@@ -24,7 +24,7 @@
 
 #define DIV_MAX                255
 
-static const char *clk_names[N_CLOCKS] = {
+static const char * const clk_names[N_CLOCKS] = {
        "qspi0", "qspi1", "qspi2", "sdmmc0",
        "pi", "mcan0", "mcan1", "flexcom0",
        "flexcom1", "flexcom2", "flexcom3",