forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/drivers/clk/x86/clk-pmc-atom.c
....@@ -1,22 +1,15 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Intel Atom platform clocks driver for BayTrail and CherryTrail SoCs
34 *
45 * Copyright (C) 2016, Intel Corporation
56 * Author: Irina Tirdea <irina.tirdea@intel.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms and conditions of the GNU General Public License,
9
- * version 2, as published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope it will be useful, but WITHOUT
12
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
- * more details.
157 */
168
179 #include <linux/clk-provider.h>
1810 #include <linux/clkdev.h>
1911 #include <linux/err.h>
12
+#include <linux/io.h>
2013 #include <linux/platform_data/x86/clk-pmc-atom.h>
2114 #include <linux/platform_device.h>
2215 #include <linux/slab.h>
....@@ -170,7 +163,7 @@
170163 int num_parents)
171164 {
172165 struct clk_plt *pclk;
173
- struct clk_init_data init = {};
166
+ struct clk_init_data init;
174167 int ret;
175168
176169 pclk = devm_kzalloc(&pdev->dev, sizeof(*pclk), GFP_KERNEL);