forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh2a/setup-sh7269.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7269 Setup
34 *
45 * Copyright (C) 2012 Renesas Electronics Europe Ltd
56 * Copyright (C) 2012 Phil Edworthy
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/usb/r8a66597.h>
1613 #include <linux/sh_timer.h>
1714 #include <linux/io.h>
15
+#include <asm/platform_early.h>
1816
1917 enum {
2018 UNUSED = 0,
....@@ -565,6 +563,6 @@
565563
566564 void __init plat_early_device_setup(void)
567565 {
568
- early_platform_add_devices(sh7269_early_devices,
566
+ sh_early_platform_add_devices(sh7269_early_devices,
569567 ARRAY_SIZE(sh7269_early_devices));
570568 }