forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh2a/setup-sh7264.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7264 Setup
34 *
45 * Copyright (C) 2012 Renesas Electronics Europe Ltd
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>
....@@ -14,6 +11,7 @@
1411 #include <linux/usb/r8a66597.h>
1512 #include <linux/sh_timer.h>
1613 #include <linux/io.h>
14
+#include <asm/platform_early.h>
1715
1816 enum {
1917 UNUSED = 0,
....@@ -549,6 +547,6 @@
549547
550548 void __init plat_early_device_setup(void)
551549 {
552
- early_platform_add_devices(sh7264_early_devices,
550
+ sh_early_platform_add_devices(sh7264_early_devices,
553551 ARRAY_SIZE(sh7264_early_devices));
554552 }