forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/clk/zte/clk.c
....@@ -1,10 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright 2014 Linaro Ltd.
34 * Copyright (C) 2014 ZTE Corporation.
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
85 */
96
107 #include <linux/clk-provider.h>
....@@ -161,7 +158,7 @@
161158 {
162159 struct clk_zx_pll *zx_pll;
163160 struct clk *clk;
164
- struct clk_init_data init = {};
161
+ struct clk_init_data init;
165162
166163 zx_pll = kzalloc(sizeof(*zx_pll), GFP_KERNEL);
167164 if (!zx_pll)
....@@ -300,7 +297,7 @@
300297 {
301298 struct clk_zx_audio *zx_audio;
302299 struct clk *clk;
303
- struct clk_init_data init = {};
300
+ struct clk_init_data init;
304301
305302 zx_audio = kzalloc(sizeof(*zx_audio), GFP_KERNEL);
306303 if (!zx_audio)