summaryrefslogtreecommitdiff
path: root/drivers/clk/hisilicon/clk-hi3620.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-22 19:12:07 +0530
committerStephen Boyd <sboyd@codeaurora.org>2017-11-01 23:25:45 -0700
commit9108620d2d52d7a58bbf6192e56903355eace907 (patch)
tree7d1f9ee5ad0387b5697c8fb50ef3b34b5ce99ea2 /drivers/clk/hisilicon/clk-hi3620.c
parented3f2d12213b3d13ca0b941199c250c66a318b72 (diff)
clk: hisilicon: make clk_ops const
Make these const as they are only stored in the const field of a clk_init_data structure. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/hisilicon/clk-hi3620.c')
-rw-r--r--drivers/clk/hisilicon/clk-hi3620.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clk-hi3620.c b/drivers/clk/hisilicon/clk-hi3620.c
index fa0fba653898..77072c7778b9 100644
--- a/drivers/clk/hisilicon/clk-hi3620.c
+++ b/drivers/clk/hisilicon/clk-hi3620.c
@@ -415,7 +415,7 @@ static int mmc_clk_set_rate(struct clk_hw *hw, unsigned long rate,
return mmc_clk_set_timing(hw, rate);
}
-static struct clk_ops clk_mmc_ops = {
+static const struct clk_ops clk_mmc_ops = {
.prepare = mmc_clk_prepare,
.determine_rate = mmc_clk_determine_rate,
.set_rate = mmc_clk_set_rate,