summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sirf/clk-prima2.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-18 12:08:17 +0200
committerStephen Boyd <sboyd@codeaurora.org>2017-11-02 07:25:51 +0100
commit0777066dcee8a4f16db09fd21dfd58b6d83b12f9 (patch)
tree8a235c17eff34c93412808da5adaa11bcd751d02 /drivers/clk/sirf/clk-prima2.c
parentclk: imx: make clk_ops const (diff)
downloadlinux-0777066dcee8a4f16db09fd21dfd58b6d83b12f9.tar.xz
linux-0777066dcee8a4f16db09fd21dfd58b6d83b12f9.zip
clk: make clk_init_data const
Make these const as they are only stored in the init field of a clk_hw structure, which is const. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/sirf/clk-prima2.c')
-rw-r--r--drivers/clk/sirf/clk-prima2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sirf/clk-prima2.c b/drivers/clk/sirf/clk-prima2.c
index aac1c8ec151a..2f824320c318 100644
--- a/drivers/clk/sirf/clk-prima2.c
+++ b/drivers/clk/sirf/clk-prima2.c
@@ -42,7 +42,7 @@ static struct clk_dmn clk_mmc45 = {
},
};
-static struct clk_init_data clk_nand_init = {
+static const struct clk_init_data clk_nand_init = {
.name = "nand",
.ops = &ios_ops,
.parent_names = std_clk_io_parents,