hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/sh/kernel/cpu/sh4a/setup-shx3.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH-X3 Prototype Setup
34 *
45 * Copyright (C) 2007 - 2010 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>
....@@ -17,6 +14,7 @@
1714 #include <linux/sh_intc.h>
1815 #include <cpu/shx3.h>
1916 #include <asm/mmzone.h>
17
+#include <asm/platform_early.h>
2018
2119 /*
2220 * This intentionally only registers SCIF ports 0, 1, and 3. SCIF 2
....@@ -155,7 +153,7 @@
155153
156154 void __init plat_early_device_setup(void)
157155 {
158
- early_platform_add_devices(shx3_early_devices,
156
+ sh_early_platform_add_devices(shx3_early_devices,
159157 ARRAY_SIZE(shx3_early_devices));
160158 }
161159