aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/clk-gate2.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2017-11-14 10:07:38 -0800
committerStephen Boyd <sboyd@codeaurora.org>2017-11-14 10:07:38 -0800
commited9c62f75aef10297fb6da4e24292fb354cb8307 (patch)
tree373eb7afd5d079c84aaf1ebaa1a3df68dd846086 /drivers/clk/imx/clk-gate2.c
parentMerge branch 'clk-sunxi' into clk-next (diff)
parentclk: make clk_init_data const (diff)
downloadlinux-dev-ed9c62f75aef10297fb6da4e24292fb354cb8307.tar.xz
linux-dev-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/imx/clk-gate2.c')
-rw-r--r--drivers/clk/imx/clk-gate2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-gate2.c b/drivers/clk/imx/clk-gate2.c
index db44a198a0d9..60fc9d7a9723 100644
--- a/drivers/clk/imx/clk-gate2.c
+++ b/drivers/clk/imx/clk-gate2.c
@@ -118,7 +118,7 @@ static void clk_gate2_disable_unused(struct clk_hw *hw)
spin_unlock_irqrestore(gate->lock, flags);
}
-static struct clk_ops clk_gate2_ops = {
+static const struct clk_ops clk_gate2_ops = {
.enable = clk_gate2_enable,
.disable = clk_gate2_disable,
.disable_unused = clk_gate2_disable_unused,