forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh2a/setup-sh7203.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7203 and SH7263 Setup
34 *
45 * Copyright (C) 2007 - 2009 Paul Mundt
5
- *
6
- * This file is subject to the terms and conditions of the GNU General Public
7
- * License. See the file "COPYING" in the main directory of this archive
8
- * for more details.
96 */
107 #include <linux/platform_device.h>
118 #include <linux/init.h>
....@@ -13,6 +10,7 @@
1310 #include <linux/serial_sci.h>
1411 #include <linux/sh_timer.h>
1512 #include <linux/io.h>
13
+#include <asm/platform_early.h>
1614
1715 enum {
1816 UNUSED = 0,
....@@ -352,6 +350,6 @@
352350 /* enable MTU2 clock */
353351 __raw_writeb(__raw_readb(STBCR3) & ~0x20, STBCR3);
354352
355
- early_platform_add_devices(sh7203_early_devices,
353
+ sh_early_platform_add_devices(sh7203_early_devices,
356354 ARRAY_SIZE(sh7203_early_devices));
357355 }