diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-10-17 17:38:34 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-11-02 09:23:01 +0300 |
commit | 37d2f45d940bfdd7c9a5323f3d3462bea3a3e957 (patch) | |
tree | 49ba9daad1624cd2cfd5e5b7c8a458e43a3beeff /drivers/clk/spear/clk-aux-synth.c | |
parent | 71bf5ab8638fe333ac8a984b46fc3f4ea0c5120a (diff) | |
download | linux-37d2f45d940bfdd7c9a5323f3d3462bea3a3e957.tar.xz |
CLK: SPEAr: make aux_clk_masks structures const
Make these const as they are either stored in the masks 'const' field
of a clk_aux structure or passed to the function clk_register_aux
having the argument as const.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/spear/clk-aux-synth.c')
-rw-r--r-- | drivers/clk/spear/clk-aux-synth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/spear/clk-aux-synth.c b/drivers/clk/spear/clk-aux-synth.c index 8bea5dfc770b..2f145e398a10 100644 --- a/drivers/clk/spear/clk-aux-synth.c +++ b/drivers/clk/spear/clk-aux-synth.c @@ -29,7 +29,7 @@ #define to_clk_aux(_hw) container_of(_hw, struct clk_aux, hw) -static struct aux_clk_masks default_aux_masks = { +static const struct aux_clk_masks default_aux_masks = { .eq_sel_mask = AUX_EQ_SEL_MASK, .eq_sel_shift = AUX_EQ_SEL_SHIFT, .eq1_mask = AUX_EQ1_SEL, |