forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 958e46acc8e900e8569dd467c1af9b8d2d019394
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7785.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7785 Setup
34 *
45 * Copyright (C) 2007 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>
....@@ -17,6 +14,7 @@
1714 #include <linux/sh_timer.h>
1815 #include <linux/sh_intc.h>
1916 #include <asm/mmzone.h>
17
+#include <asm/platform_early.h>
2018 #include <cpu/dma-register.h>
2119
2220 static struct plat_sci_port scif0_platform_data = {
....@@ -356,7 +354,7 @@
356354
357355 void __init plat_early_device_setup(void)
358356 {
359
- early_platform_add_devices(sh7785_early_devices,
357
+ sh_early_platform_add_devices(sh7785_early_devices,
360358 ARRAY_SIZE(sh7785_early_devices));
361359 }
362360