diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-18 15:38:17 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-11-01 23:25:51 -0700 |
commit | 0777066dcee8a4f16db09fd21dfd58b6d83b12f9 (patch) | |
tree | 8a235c17eff34c93412808da5adaa11bcd751d02 /drivers/clk/sirf/clk-atlas6.c | |
parent | fa1da981f5ee603610bd8f8920c4ec393e95ceeb (diff) |
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-atlas6.c')
-rw-r--r-- | drivers/clk/sirf/clk-atlas6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sirf/clk-atlas6.c b/drivers/clk/sirf/clk-atlas6.c index 665fa681b2e1..0cd11e6893af 100644 --- a/drivers/clk/sirf/clk-atlas6.c +++ b/drivers/clk/sirf/clk-atlas6.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 = &dmn_ops, .parent_names = dmn_clk_parents, |