forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 958e46acc8e900e8569dd467c1af9b8d2d019394
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7722 Setup
34 *
45 * Copyright (C) 2006 - 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/init.h>
118 #include <linux/mm.h>
....@@ -21,6 +18,7 @@
2118 #include <asm/clock.h>
2219 #include <asm/mmzone.h>
2320 #include <asm/siu.h>
21
+#include <asm/platform_early.h>
2422
2523 #include <cpu/dma-register.h>
2624 #include <cpu/sh7722.h>
....@@ -515,7 +513,7 @@
515513
516514 void __init plat_early_device_setup(void)
517515 {
518
- early_platform_add_devices(sh7722_early_devices,
516
+ sh_early_platform_add_devices(sh7722_early_devices,
519517 ARRAY_SIZE(sh7722_early_devices));
520518 }
521519