diff options
-rw-r--r-- | drivers/clk/clk-mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c index c71ad1f41a97..50e05953c8d3 100644 --- a/drivers/clk/clk-mux.c +++ b/drivers/clk/clk-mux.c | |||
@@ -97,7 +97,7 @@ struct clk *clk_register_mux(struct device *dev, const char *name, | |||
97 | { | 97 | { |
98 | struct clk_mux *mux; | 98 | struct clk_mux *mux; |
99 | 99 | ||
100 | mux = kmalloc(sizeof(struct clk_mux), GFP_KERNEL); | 100 | mux = kzalloc(sizeof(struct clk_mux), GFP_KERNEL); |
101 | 101 | ||
102 | if (!mux) { | 102 | if (!mux) { |
103 | pr_err("%s: could not allocate mux clk\n", __func__); | 103 | pr_err("%s: could not allocate mux clk\n", __func__); |