hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/clk/samsung/clk-pll.c
....@@ -1,10 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
34 * Copyright (c) 2013 Linaro Ltd.
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 * This file contains the utility functions to register the pll clocks.
107 */
....@@ -13,7 +10,8 @@
1310 #include <linux/hrtimer.h>
1411 #include <linux/delay.h>
1512 #include <linux/slab.h>
16
-#include <linux/clkdev.h>
13
+#include <linux/clk-provider.h>
14
+#include <linux/io.h>
1715 #include "clk.h"
1816 #include "clk-pll.h"
1917
....@@ -1253,7 +1251,7 @@
12531251 void __iomem *base)
12541252 {
12551253 struct samsung_clk_pll *pll;
1256
- struct clk_init_data init = {};
1254
+ struct clk_init_data init;
12571255 int ret, len;
12581256
12591257 pll = kzalloc(sizeof(*pll), GFP_KERNEL);