forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/sh/kernel/cpu/sh3/setup-sh770x.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH3 Setup code for SH7706, SH7707, SH7708, SH7709
34 *
....@@ -7,10 +8,6 @@
78 * Based on setup-sh7709.c
89 *
910 * Copyright (C) 2006 Paul Mundt
10
- *
11
- * This file is subject to the terms and conditions of the GNU General Public
12
- * License. See the file "COPYING" in the main directory of this archive
13
- * for more details.
1411 */
1512 #include <linux/init.h>
1613 #include <linux/io.h>
....@@ -21,6 +18,7 @@
2118 #include <linux/sh_timer.h>
2219 #include <linux/sh_intc.h>
2320 #include <cpu/serial.h>
21
+#include <asm/platform_early.h>
2422
2523 enum {
2624 UNUSED = 0,
....@@ -233,7 +231,7 @@
233231
234232 void __init plat_early_device_setup(void)
235233 {
236
- early_platform_add_devices(sh770x_early_devices,
234
+ sh_early_platform_add_devices(sh770x_early_devices,
237235 ARRAY_SIZE(sh770x_early_devices));
238236 }
239237