forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/drivers/clk/tegra/clk-periph-fixed.c
....@@ -1,20 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms and conditions of the GNU General Public License,
6
- * version 2, as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope it will be useful, but WITHOUT
9
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
- * more details.
12
- *
13
- * You should have received a copy of the GNU General Public License
14
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
154 */
165
176 #include <linux/clk-provider.h>
7
+#include <linux/io.h>
188
199 #include "clk.h"
2010
....@@ -87,7 +77,7 @@
8777 {
8878 const struct tegra_clk_periph_regs *regs;
8979 struct tegra_clk_periph_fixed *fixed;
90
- struct clk_init_data init = {};
80
+ struct clk_init_data init;
9181 struct clk *clk;
9282
9383 regs = get_reg_bank(num);