forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh2a/setup-sh7206.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7206 Setup
34 *
45 * Copyright (C) 2006 Yoshinori Sato
56 * Copyright (C) 2009 Paul Mundt
6
- *
7
- * This file is subject to the terms and conditions of the GNU General Public
8
- * License. See the file "COPYING" in the main directory of this archive
9
- * for more details.
107 */
118 #include <linux/platform_device.h>
129 #include <linux/init.h>
....@@ -14,6 +11,7 @@
1411 #include <linux/serial_sci.h>
1512 #include <linux/sh_timer.h>
1613 #include <linux/io.h>
14
+#include <asm/platform_early.h>
1715
1816 enum {
1917 UNUSED = 0,
....@@ -288,6 +286,6 @@
288286 /* enable MTU2 clock */
289287 __raw_writeb(__raw_readb(STBCR3) & ~0x20, STBCR3);
290288
291
- early_platform_add_devices(sh7206_early_devices,
289
+ sh_early_platform_add_devices(sh7206_early_devices,
292290 ARRAY_SIZE(sh7206_early_devices));
293291 }