summaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/clk-pllv2.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-22 15:18:29 +0200
committerStephen Boyd <sboyd@codeaurora.org>2017-11-02 07:25:49 +0100
commitfa1da981f5ee603610bd8f8920c4ec393e95ceeb (patch)
tree83f50029cf5148add0e5b91023dfad330fcbc326 /drivers/clk/imx/clk-pllv2.c
parentclk: mmp: make clk_ops const (diff)
downloadlinux-fa1da981f5ee603610bd8f8920c4ec393e95ceeb.tar.xz
linux-fa1da981f5ee603610bd8f8920c4ec393e95ceeb.zip
clk: imx: 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/imx/clk-pllv2.c')
-rw-r--r--drivers/clk/imx/clk-pllv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-pllv2.c b/drivers/clk/imx/clk-pllv2.c
index 4aeda56ce372..c845b8c773a6 100644
--- a/drivers/clk/imx/clk-pllv2.c
+++ b/drivers/clk/imx/clk-pllv2.c
@@ -226,7 +226,7 @@ static void clk_pllv2_unprepare(struct clk_hw *hw)
__raw_writel(reg, pllbase + MXC_PLL_DP_CTL);
}
-static struct clk_ops clk_pllv2_ops = {
+static const struct clk_ops clk_pllv2_ops = {
.prepare = clk_pllv2_prepare,
.unprepare = clk_pllv2_unprepare,
.recalc_rate = clk_pllv2_recalc_rate,