summaryrefslogtreecommitdiffstats
path: root/drivers/clk/hisilicon/clkgate-separated.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/hisilicon/clkgate-separated.c')
-rw-r--r--drivers/clk/hisilicon/clkgate-separated.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/hisilicon/clkgate-separated.c b/drivers/clk/hisilicon/clkgate-separated.c
index a47812f56a17..7908bc3c9ec7 100644
--- a/drivers/clk/hisilicon/clkgate-separated.c
+++ b/drivers/clk/hisilicon/clkgate-separated.c
@@ -120,6 +120,7 @@ struct clk *hisi_register_clkgate_sep(struct device *dev, const char *name,
sclk->bit_idx = bit_idx;
sclk->flags = clk_gate_flags;
sclk->hw.init = &init;
+ sclk->lock = lock;
clk = clk_register(dev, &sclk->hw);
if (IS_ERR(clk))