forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/clk/renesas/clk-sh73a0.c
....@@ -1,16 +1,14 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * sh73a0 Core CPG Clocks
34 *
45 * Copyright (C) 2014 Ulrich Hecht
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; version 2 of the License.
96 */
107
118 #include <linux/clk-provider.h>
129 #include <linux/clk/renesas.h>
1310 #include <linux/init.h>
11
+#include <linux/io.h>
1412 #include <linux/kernel.h>
1513 #include <linux/of.h>
1614 #include <linux/of_address.h>
....@@ -206,8 +204,8 @@
206204
207205 clk = sh73a0_cpg_register_clock(np, cpg, name);
208206 if (IS_ERR(clk))
209
- pr_err("%s: failed to register %s %s clock (%ld)\n",
210
- __func__, np->name, name, PTR_ERR(clk));
207
+ pr_err("%s: failed to register %pOFn %s clock (%ld)\n",
208
+ __func__, np, name, PTR_ERR(clk));
211209 else
212210 cpg->data.clks[i] = clk;
213211 }