summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mmp/clk-apbc.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-22 15:35:55 +0200
committerStephen Boyd <sboyd@codeaurora.org>2017-11-02 07:25:47 +0100
commite90a7da4f75435ba0e5fcb12ed65fa6d4bd7a364 (patch)
treea4551b8d7cfbbe4ffcc214908c678d9f9d513c88 /drivers/clk/mmp/clk-apbc.c
parentclk: hisilicon: make clk_ops const (diff)
downloadlinux-e90a7da4f75435ba0e5fcb12ed65fa6d4bd7a364.tar.xz
linux-e90a7da4f75435ba0e5fcb12ed65fa6d4bd7a364.zip
clk: mmp: 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/mmp/clk-apbc.c')
-rw-r--r--drivers/clk/mmp/clk-apbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mmp/clk-apbc.c b/drivers/clk/mmp/clk-apbc.c
index 4c717db05f2d..fb294ada0b03 100644
--- a/drivers/clk/mmp/clk-apbc.c
+++ b/drivers/clk/mmp/clk-apbc.c
@@ -114,7 +114,7 @@ static void clk_apbc_unprepare(struct clk_hw *hw)
spin_unlock_irqrestore(apbc->lock, flags);
}
-static struct clk_ops clk_apbc_ops = {
+static const struct clk_ops clk_apbc_ops = {
.prepare = clk_apbc_prepare,
.unprepare = clk_apbc_unprepare,
};