forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh3/setup-sh7705.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7705 Setup
34 *
45 * Copyright (C) 2006 - 2009 Paul Mundt
56 * Copyright (C) 2007 Nobuhiro Iwamatsu
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>
....@@ -17,6 +14,7 @@
1714 #include <linux/sh_intc.h>
1815 #include <asm/rtc.h>
1916 #include <cpu/serial.h>
17
+#include <asm/platform_early.h>
2018
2119 enum {
2220 UNUSED = 0,
....@@ -181,7 +179,7 @@
181179
182180 void __init plat_early_device_setup(void)
183181 {
184
- early_platform_add_devices(sh7705_early_devices,
182
+ sh_early_platform_add_devices(sh7705_early_devices,
185183 ARRAY_SIZE(sh7705_early_devices));
186184 }
187185