forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7763.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7763 Setup
34 *
45 * Copyright (C) 2006 Paul Mundt
56 * Copyright (C) 2007 Yoshihiro Shimoda
67 * Copyright (C) 2008, 2009 Nobuhiro Iwamatsu
7
- *
8
- * This file is subject to the terms and conditions of the GNU General Public
9
- * License. See the file "COPYING" in the main directory of this archive
10
- * for more details.
118 */
129 #include <linux/platform_device.h>
1310 #include <linux/init.h>
....@@ -17,6 +14,7 @@
1714 #include <linux/io.h>
1815 #include <linux/serial_sci.h>
1916 #include <linux/usb/ohci_pdriver.h>
17
+#include <asm/platform_early.h>
2018
2119 static struct plat_sci_port scif0_platform_data = {
2220 .scscr = SCSCR_REIE,
....@@ -224,7 +222,7 @@
224222
225223 void __init plat_early_device_setup(void)
226224 {
227
- early_platform_add_devices(sh7763_early_devices,
225
+ sh_early_platform_add_devices(sh7763_early_devices,
228226 ARRAY_SIZE(sh7763_early_devices));
229227 }
230228