aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/clk/spear/spear1340_clock.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-10-17 16:38:34 +0200
committerStephen Boyd <sboyd@codeaurora.org>2017-11-01 23:23:01 -0700
commit37d2f45d940bfdd7c9a5323f3d3462bea3a3e957 (patch)
tree49ba9daad1624cd2cfd5e5b7c8a458e43a3beeff /drivers/clk/spear/spear1340_clock.c
parentCLK: SPEAr: make structure field and function argument as const (diff)
downloadwireguard-linux-37d2f45d940bfdd7c9a5323f3d3462bea3a3e957.tar.xz
wireguard-linux-37d2f45d940bfdd7c9a5323f3d3462bea3a3e957.zip
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/spear1340_clock.c')
-rw-r--r--drivers/clk/spear/spear1340_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/spear/spear1340_clock.c b/drivers/clk/spear/spear1340_clock.c
index cbb19a90f2d6..e5bc8c828cf0 100644
--- a/drivers/clk/spear/spear1340_clock.c
+++ b/drivers/clk/spear/spear1340_clock.c
@@ -323,7 +323,7 @@ static struct frac_rate_tbl clcd_rtbl[] = {
};
/* i2s prescaler1 masks */
-static struct aux_clk_masks i2s_prs1_masks = {
+static const struct aux_clk_masks i2s_prs1_masks = {
.eq_sel_mask = AUX_EQ_SEL_MASK,
.eq_sel_shift = SPEAR1340_I2S_PRS1_EQ_SEL_SHIFT,
.eq1_mask = AUX_EQ1_SEL,