forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/sh/kernel/cpu/sh4/setup-sh4-202.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH4-202 Setup
34 *
45 * Copyright (C) 2006 Paul Mundt
56 * Copyright (C) 2009 Magnus Damm
6
- *
7
- * This file is subject to the terms and conditions of the GNU General Public
8
- * License. See the file "COPYING" in the main directory of this archive
9
- * for more details.
107 */
118 #include <linux/platform_device.h>
129 #include <linux/init.h>
....@@ -15,6 +12,7 @@
1512 #include <linux/sh_timer.h>
1613 #include <linux/sh_intc.h>
1714 #include <linux/io.h>
15
+#include <asm/platform_early.h>
1816
1917 static struct plat_sci_port scif0_platform_data = {
2018 .scscr = SCSCR_REIE,
....@@ -79,7 +77,7 @@
7977
8078 void __init plat_early_device_setup(void)
8179 {
82
- early_platform_add_devices(sh4202_early_devices,
80
+ sh_early_platform_add_devices(sh4202_early_devices,
8381 ARRAY_SIZE(sh4202_early_devices));
8482 }
8583