forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7366.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7366 Setup
34 *
45 * Copyright (C) 2008 Renesas Solutions
56 *
67 * Based on linux/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
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>
....@@ -18,6 +15,7 @@
1815 #include <linux/sh_intc.h>
1916 #include <linux/usb/r8a66597.h>
2017 #include <asm/clock.h>
18
+#include <asm/platform_early.h>
2119
2220 static struct plat_sci_port scif0_platform_data = {
2321 .scscr = SCSCR_REIE,
....@@ -243,7 +241,7 @@
243241
244242 void __init plat_early_device_setup(void)
245243 {
246
- early_platform_add_devices(sh7366_early_devices,
244
+ sh_early_platform_add_devices(sh7366_early_devices,
247245 ARRAY_SIZE(sh7366_early_devices));
248246 }
249247