forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 958e46acc8e900e8569dd467c1af9b8d2d019394
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7734.c
....@@ -1,14 +1,11 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * arch/sh/kernel/cpu/sh4a/setup-sh7734.c
3
-
4
+ *
45 * SH7734 Setup
56 *
67 * Copyright (C) 2011,2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
78 * Copyright (C) 2011,2012 Renesas Solutions Corp.
8
- *
9
- * This file is subject to the terms and conditions of the GNU General Public
10
- * License. See the file "COPYING" in the main directory of this archive
11
- * for more details.
129 */
1310
1411 #include <linux/platform_device.h>
....@@ -21,6 +18,7 @@
2118 #include <linux/io.h>
2219 #include <asm/clock.h>
2320 #include <asm/irq.h>
21
+#include <asm/platform_early.h>
2422 #include <cpu/sh7734.h>
2523
2624 /* SCIF */
....@@ -283,7 +281,7 @@
283281
284282 void __init plat_early_device_setup(void)
285283 {
286
- early_platform_add_devices(sh7734_early_devices,
284
+ sh_early_platform_add_devices(sh7734_early_devices,
287285 ARRAY_SIZE(sh7734_early_devices));
288286 }
289287