forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh3/setup-sh7720.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Setup code for SH7720, SH7721.
34 *
....@@ -8,10 +9,6 @@
89 *
910 * Copyright (C) 2006 Paul Mundt
1011 * Copyright (C) 2006 Jamie Lenehan
11
- *
12
- * This file is subject to the terms and conditions of the GNU General Public
13
- * License. See the file "COPYING" in the main directory of this archive
14
- * for more details.
1512 */
1613 #include <linux/platform_device.h>
1714 #include <linux/init.h>
....@@ -22,6 +19,7 @@
2219 #include <linux/sh_intc.h>
2320 #include <linux/usb/ohci_pdriver.h>
2421 #include <asm/rtc.h>
22
+#include <asm/platform_early.h>
2523 #include <cpu/serial.h>
2624
2725 static struct resource rtc_resources[] = {
....@@ -214,7 +212,7 @@
214212
215213 void __init plat_early_device_setup(void)
216214 {
217
- early_platform_add_devices(sh7720_early_devices,
215
+ sh_early_platform_add_devices(sh7720_early_devices,
218216 ARRAY_SIZE(sh7720_early_devices));
219217 }
220218