diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2017-11-14 10:07:38 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-11-14 10:07:38 -0800 |
commit | ed9c62f75aef10297fb6da4e24292fb354cb8307 (patch) | |
tree | 373eb7afd5d079c84aaf1ebaa1a3df68dd846086 /drivers/clk/mxs | |
parent | 3b0da91688b64290df7b6a31b515a8c903675525 (diff) | |
parent | 0777066dcee8a4f16db09fd21dfd58b6d83b12f9 (diff) | |
download | talos-op-linux-ed9c62f75aef10297fb6da4e24292fb354cb8307.tar.gz talos-op-linux-ed9c62f75aef10297fb6da4e24292fb354cb8307.zip |
Merge branch 'clk-const' into clk-next
* clk-const:
clk: make clk_init_data const
clk: imx: make clk_ops const
clk: mmp: make clk_ops const
clk: hisilicon: make clk_ops const
clk: mxs: make clk_ops const
clk: sirf: make clk_ops const
clk: spear: make clk_ops const
CLK: SPEAr: make aux_clk_masks structures const
CLK: SPEAr: make structure field and function argument as const
Diffstat (limited to 'drivers/clk/mxs')
-rw-r--r-- | drivers/clk/mxs/clk-div.c | 2 | ||||
-rw-r--r-- | drivers/clk/mxs/clk-frac.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/mxs/clk-div.c b/drivers/clk/mxs/clk-div.c index f75e989c578f..ccebd014fc1e 100644 --- a/drivers/clk/mxs/clk-div.c +++ b/drivers/clk/mxs/clk-div.c @@ -67,7 +67,7 @@ static int clk_div_set_rate(struct clk_hw *hw, unsigned long rate, return ret; } -static struct clk_ops clk_div_ops = { +static const struct clk_ops clk_div_ops = { .recalc_rate = clk_div_recalc_rate, .round_rate = clk_div_round_rate, .set_rate = clk_div_set_rate, diff --git a/drivers/clk/mxs/clk-frac.c b/drivers/clk/mxs/clk-frac.c index f8dd10f6df3d..27b3372adc37 100644 --- a/drivers/clk/mxs/clk-frac.c +++ b/drivers/clk/mxs/clk-frac.c @@ -107,7 +107,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long rate, return mxs_clk_wait(frac->reg, frac->busy); } -static struct clk_ops clk_frac_ops = { +static const struct clk_ops clk_frac_ops = { .recalc_rate = clk_frac_recalc_rate, .round_rate = clk_frac_round_rate, .set_rate = clk_frac_set_rate, |