forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/arch/sh/kernel/cpu/sh2a/setup-mxg.c
....@@ -1,17 +1,15 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Renesas MX-G (R8A03022BG) Setup
34 *
45 * Copyright (C) 2008, 2009 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>
129 #include <linux/serial.h>
1310 #include <linux/serial_sci.h>
1411 #include <linux/sh_timer.h>
12
+#include <asm/platform_early.h>
1513
1614 enum {
1715 UNUSED = 0,
....@@ -172,6 +170,6 @@
172170
173171 void __init plat_early_device_setup(void)
174172 {
175
- early_platform_add_devices(mxg_early_devices,
173
+ sh_early_platform_add_devices(mxg_early_devices,
176174 ARRAY_SIZE(mxg_early_devices));
177175 }