forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 958e46acc8e900e8569dd467c1af9b8d2d019394
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7780.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7780 Setup
34 *
45 * Copyright (C) 2006 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>
....@@ -16,6 +13,7 @@
1613 #include <linux/sh_timer.h>
1714 #include <linux/sh_intc.h>
1815 #include <cpu/dma-register.h>
16
+#include <asm/platform_early.h>
1917
2018 static struct plat_sci_port scif0_platform_data = {
2119 .scscr = SCSCR_REIE | SCSCR_CKE1,
....@@ -288,7 +286,7 @@
288286 scif1_platform_data.scscr &= ~SCSCR_CKE1;
289287 }
290288
291
- early_platform_add_devices(sh7780_early_devices,
289
+ sh_early_platform_add_devices(sh7780_early_devices,
292290 ARRAY_SIZE(sh7780_early_devices));
293291 }
294292