forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/sh/kernel/cpu/sh3/setup-sh7710.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH3 Setup code for SH7710, SH7712
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>
....@@ -16,6 +13,7 @@
1613 #include <linux/sh_timer.h>
1714 #include <linux/sh_intc.h>
1815 #include <asm/rtc.h>
16
+#include <asm/platform_early.h>
1917
2018 enum {
2119 UNUSED = 0,
....@@ -180,7 +178,7 @@
180178
181179 void __init plat_early_device_setup(void)
182180 {
183
- early_platform_add_devices(sh7710_early_devices,
181
+ sh_early_platform_add_devices(sh7710_early_devices,
184182 ARRAY_SIZE(sh7710_early_devices));
185183 }
186184