hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/sh/kernel/cpu/sh4a/setup-sh7343.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7343 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>
....@@ -15,6 +12,7 @@
1512 #include <linux/sh_timer.h>
1613 #include <linux/sh_intc.h>
1714 #include <asm/clock.h>
15
+#include <asm/platform_early.h>
1816
1917 /* Serial */
2018 static struct plat_sci_port scif0_platform_data = {
....@@ -299,7 +297,7 @@
299297
300298 void __init plat_early_device_setup(void)
301299 {
302
- early_platform_add_devices(sh7343_early_devices,
300
+ sh_early_platform_add_devices(sh7343_early_devices,
303301 ARRAY_SIZE(sh7343_early_devices));
304302 }
305303