aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/imx/clk-pllv1.c
diff options
context:
space:
mode:
authorBhumika Goyal2017-08-22 18:48:29 +0530
committerStephen Boyd2017-11-01 23:25:49 -0700
commitfa1da981f5ee603610bd8f8920c4ec393e95ceeb (patch)
tree83f50029cf5148add0e5b91023dfad330fcbc326 /drivers/clk/imx/clk-pllv1.c
parente90a7da4f75435ba0e5fcb12ed65fa6d4bd7a364 (diff)
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-pllv1.c')
-rw-r--r--drivers/clk/imx/clk-pllv1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-pllv1.c b/drivers/clk/imx/clk-pllv1.c
index 82fe3662b5f6..703818e9001a 100644
--- a/drivers/clk/imx/clk-pllv1.c
+++ b/drivers/clk/imx/clk-pllv1.c
@@ -106,7 +106,7 @@ static unsigned long clk_pllv1_recalc_rate(struct clk_hw *hw,
return ull;
}
-static struct clk_ops clk_pllv1_ops = {
+static const struct clk_ops clk_pllv1_ops = {
.recalc_rate = clk_pllv1_recalc_rate,
};