forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7724 Setup
34 *
....@@ -7,10 +8,6 @@
78 *
89 * Based on SH7723 Setup
910 * Copyright (C) 2008 Paul Mundt
10
- *
11
- * This file is subject to the terms and conditions of the GNU General Public
12
- * License. See the file "COPYING" in the main directory of this archive
13
- * for more details.
1411 */
1512 #include <linux/platform_device.h>
1613 #include <linux/init.h>
....@@ -27,6 +24,7 @@
2724 #include <asm/suspend.h>
2825 #include <asm/clock.h>
2926 #include <asm/mmzone.h>
27
+#include <asm/platform_early.h>
3028
3129 #include <cpu/dma-register.h>
3230 #include <cpu/sh7724.h>
....@@ -833,7 +831,7 @@
833831
834832 void __init plat_early_device_setup(void)
835833 {
836
- early_platform_add_devices(sh7724_early_devices,
834
+ sh_early_platform_add_devices(sh7724_early_devices,
837835 ARRAY_SIZE(sh7724_early_devices));
838836 }
839837