summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-fixed-rate.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2016-05-16 11:05:16 +0530
committerTaniya Das <tdas@codeaurora.org>2016-11-03 09:16:56 +0530
commit2ac3d304b9acb8f1009cba6567f33fa285a5f6dc (patch)
treeb3f8dd6f0ebcaeca49c2587a0dedc31f8f274606 /drivers/clk/clk-fixed-rate.c
parent8992f7dd08968333dcbeb70c5a0862970a0094cf (diff)
clk: Add support to vote to regulator framework from clk framework
Add vdd_class support which would help vote/unvote for any voltage rail for the clock frequency to the regulator framework. A clock client request for a clock frequency would look for the corresponding voltage vote and would be send the request to regulator framework. Change-Id: I5b1229091fcb7b3887b54735b9663fd31a35db21 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Taniya Das <tdas@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-fixed-rate.c')
-rw-r--r--drivers/clk/clk-fixed-rate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c
index f85ec8d1711f..2ca7d5a8826f 100644
--- a/drivers/clk/clk-fixed-rate.c
+++ b/drivers/clk/clk-fixed-rate.c
@@ -62,7 +62,7 @@ struct clk *clk_register_fixed_rate_with_accuracy(struct device *dev,
{
struct clk_fixed_rate *fixed;
struct clk *clk;
- struct clk_init_data init;
+ struct clk_init_data init = {};
/* allocate fixed-rate clock */
fixed = kzalloc(sizeof(*fixed), GFP_KERNEL);