summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-loongson2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/clk-loongson2.c')
-rw-r--r--drivers/clk/clk-loongson2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-loongson2.c b/drivers/clk/clk-loongson2.c
index 70ae1dd2e474..bacdcbb287ac 100644
--- a/drivers/clk/clk-loongson2.c
+++ b/drivers/clk/clk-loongson2.c
@@ -40,7 +40,7 @@ static struct clk_hw *loongson2_clk_register(struct device *dev,
{
int ret;
struct clk_hw *hw;
- struct clk_init_data init;
+ struct clk_init_data init = { };
hw = devm_kzalloc(dev, sizeof(*hw), GFP_KERNEL);
if (!hw)