]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: meson: add missing const qualifiers on gate arrays
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 9 Mar 2017 10:41:47 +0000 (11:41 +0100)
committerMichael Turquette <mturquette@baylibre.com>
Mon, 27 Mar 2017 19:29:55 +0000 (12:29 -0700)
Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20170309104154.28295-3-jbrunet@baylibre.com

drivers/clk/meson/gxbb.c
drivers/clk/meson/meson8b.c

index 1c1ec137a3cc72e8712e172b4eca862e90aa69eb..c063287bb0ed38f54553b0dbd4e17b1d23b5ef43 100644 (file)
@@ -816,7 +816,7 @@ static struct meson_clk_mpll *const gxbb_clk_mplls[] = {
        &gxbb_mpll2,
 };
 
-static struct clk_gate *gxbb_clk_gates[] = {
+static struct clk_gate *const gxbb_clk_gates[] = {
        &gxbb_clk81,
        &gxbb_ddr,
        &gxbb_dos,
index 888494d4fb8acb108ad40f271aa4a5d9dd709d3a..d1cc4d7cc8ff8b04d0ee27d8620a28c714b49702 100644 (file)
@@ -501,7 +501,7 @@ static struct meson_clk_pll *const meson8b_clk_plls[] = {
        &meson8b_sys_pll,
 };
 
-static struct clk_gate *meson8b_clk_gates[] = {
+static struct clk_gate *const meson8b_clk_gates[] = {
        &meson8b_clk81,
        &meson8b_ddr,
        &meson8b_dos,