clk: meson-gxbb: Add const to some parent name arrays
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 2 Jun 2017 17:57:05 +0000 (10:57 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 2 Jun 2017 17:57:50 +0000 (10:57 -0700)
These can be marked as const * const.

Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/meson/gxbb.c

index 2919a0e044a5d3c159f672c774e169591221b665..36c0e455437e8d7e35f2b11b2d9a3c38d15d4640 100644 (file)
@@ -701,7 +701,7 @@ static struct clk_gate gxbb_sar_adc_clk = {
  */
 
 static u32 mux_table_mali_0_1[] = {0, 1, 2, 3, 4, 5, 6, 7};
-static const char *gxbb_mali_0_1_parent_names[] = {
+static const char * const gxbb_mali_0_1_parent_names[] = {
        "xtal", "gp0_pll", "mpll2", "mpll1", "fclk_div7",
        "fclk_div4", "fclk_div3", "fclk_div5"
 };
@@ -801,7 +801,7 @@ static struct clk_gate gxbb_mali_1 = {
 };
 
 static u32 mux_table_mali[] = {0, 1};
-static const char *gxbb_mali_parent_names[] = {
+static const char * const gxbb_mali_parent_names[] = {
        "mali_0", "mali_1"
 };
 
@@ -953,7 +953,7 @@ static struct clk_gate gxbb_32k_clk = {
        },
 };
 
-static const char *gxbb_32k_clk_parent_names[] = {
+static const char * const gxbb_32k_clk_parent_names[] = {
        "xtal", "cts_slow_oscin", "fclk_div3", "fclk_div5"
 };