summaryrefslogtreecommitdiff
path: root/drivers/clk/hisilicon/clkgate-separated.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2017-11-14 21:07:38 +0300
committerStephen Boyd <sboyd@codeaurora.org>2017-11-14 21:07:38 +0300
commited9c62f75aef10297fb6da4e24292fb354cb8307 (patch)
tree373eb7afd5d079c84aaf1ebaa1a3df68dd846086 /drivers/clk/hisilicon/clkgate-separated.c
parent3b0da91688b64290df7b6a31b515a8c903675525 (diff)
parent0777066dcee8a4f16db09fd21dfd58b6d83b12f9 (diff)
downloadlinux-ed9c62f75aef10297fb6da4e24292fb354cb8307.tar.xz
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/hisilicon/clkgate-separated.c')
-rw-r--r--drivers/clk/hisilicon/clkgate-separated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clkgate-separated.c b/drivers/clk/hisilicon/clkgate-separated.c
index f028bcffe12c..f36bdef91831 100644
--- a/drivers/clk/hisilicon/clkgate-separated.c
+++ b/drivers/clk/hisilicon/clkgate-separated.c
@@ -88,7 +88,7 @@ static int clkgate_separated_is_enabled(struct clk_hw *hw)
return reg ? 1 : 0;
}
-static struct clk_ops clkgate_separated_ops = {
+static const struct clk_ops clkgate_separated_ops = {
.enable = clkgate_separated_enable,
.disable = clkgate_separated_disable,
.is_enabled = clkgate_separated_is_enabled,