forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/clk/sunxi/clk-sun4i-tcon-ch1.c
....@@ -1,20 +1,12 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 2015 Maxime Ripard
34 *
45 * Maxime Ripard <maxime.ripard@free-electrons.com>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
156 */
167
178 #include <linux/clk-provider.h>
9
+#include <linux/io.h>
1810 #include <linux/of.h>
1911 #include <linux/of_address.h>
2012 #include <linux/slab.h>
....@@ -233,7 +225,7 @@
233225 {
234226 const char *parents[TCON_CH1_SCLK2_PARENTS];
235227 const char *clk_name = node->name;
236
- struct clk_init_data init = {};
228
+ struct clk_init_data init;
237229 struct tcon_ch1_clk *tclk;
238230 struct resource res;
239231 struct clk *clk;