aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/clk/st/clk-flexgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/st/clk-flexgen.c b/drivers/clk/st/clk-flexgen.c
index 657ca14ba709..be06d2a79dce 100644
--- a/drivers/clk/st/clk-flexgen.c
+++ b/drivers/clk/st/clk-flexgen.c
@@ -303,6 +303,8 @@ static void __init st_of_flexgen_setup(struct device_node *np)
303 if (!rlock) 303 if (!rlock)
304 goto err; 304 goto err;
305 305
306 spin_lock_init(rlock);
307
306 for (i = 0; i < clk_data->clk_num; i++) { 308 for (i = 0; i < clk_data->clk_num; i++) {
307 struct clk *clk; 309 struct clk *clk;
308 const char *clk_name; 310 const char *clk_name;