forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh2/setup-sh7619.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7619 Setup
34 *
45 * Copyright (C) 2006 Yoshinori Sato
56 * Copyright (C) 2009 Paul Mundt
6
- *
7
- * This file is subject to the terms and conditions of the GNU General Public
8
- * License. See the file "COPYING" in the main directory of this archive
9
- * for more details.
107 */
118 #include <linux/platform_device.h>
129 #include <linux/init.h>
....@@ -15,6 +12,7 @@
1512 #include <linux/sh_eth.h>
1613 #include <linux/sh_timer.h>
1714 #include <linux/io.h>
15
+#include <asm/platform_early.h>
1816
1917 enum {
2018 UNUSED = 0,
....@@ -202,6 +200,6 @@
202200 /* enable CMT clock */
203201 __raw_writeb(__raw_readb(STBCR3) & ~0x10, STBCR3);
204202
205
- early_platform_add_devices(sh7619_early_devices,
203
+ sh_early_platform_add_devices(sh7619_early_devices,
206204 ARRAY_SIZE(sh7619_early_devices));
207205 }