summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-twl6040.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-18 15:38:17 +0530
committerStephen Boyd <sboyd@codeaurora.org>2017-11-01 23:25:51 -0700
commit0777066dcee8a4f16db09fd21dfd58b6d83b12f9 (patch)
tree8a235c17eff34c93412808da5adaa11bcd751d02 /drivers/clk/clk-twl6040.c
parentfa1da981f5ee603610bd8f8920c4ec393e95ceeb (diff)
downloadlinux-0777066dcee8a4f16db09fd21dfd58b6d83b12f9.tar.bz2
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/clk-twl6040.c')
-rw-r--r--drivers/clk/clk-twl6040.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-twl6040.c b/drivers/clk/clk-twl6040.c
index 7b222a5db931..25dfe050ae9f 100644
--- a/drivers/clk/clk-twl6040.c
+++ b/drivers/clk/clk-twl6040.c
@@ -82,7 +82,7 @@ static const struct clk_ops twl6040_pdmclk_ops = {
.recalc_rate = twl6040_pdmclk_recalc_rate,
};
-static struct clk_init_data twl6040_pdmclk_init = {
+static const struct clk_init_data twl6040_pdmclk_init = {
.name = "pdmclk",
.ops = &twl6040_pdmclk_ops,
.flags = CLK_GET_RATE_NOCACHE,