forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7723.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7723 Setup
34 *
45 * Copyright (C) 2008 Paul Mundt
5
- *
6
- * This file is subject to the terms and conditions of the GNU General Public
7
- * License. See the file "COPYING" in the main directory of this archive
8
- * for more details.
96 */
107 #include <linux/platform_device.h>
118 #include <linux/init.h>
....@@ -19,6 +16,7 @@
1916 #include <linux/io.h>
2017 #include <asm/clock.h>
2118 #include <asm/mmzone.h>
19
+#include <asm/platform_early.h>
2220 #include <cpu/sh7723.h>
2321
2422 /* Serial */
....@@ -413,7 +411,7 @@
413411
414412 void __init plat_early_device_setup(void)
415413 {
416
- early_platform_add_devices(sh7723_early_devices,
414
+ sh_early_platform_add_devices(sh7723_early_devices,
417415 ARRAY_SIZE(sh7723_early_devices));
418416 }
419417