hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/sh/kernel/cpu/sh2a/setup-sh7201.c
....@@ -1,12 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * SH7201 setup
34 *
45 * Copyright (C) 2008 Peter Griffin pgriffin@mpc-data.co.uk
56 * Copyright (C) 2009 Paul Mundt
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>
....@@ -14,6 +11,7 @@
1411 #include <linux/serial_sci.h>
1512 #include <linux/sh_timer.h>
1613 #include <linux/io.h>
14
+#include <asm/platform_early.h>
1715
1816 enum {
1917 UNUSED = 0,
....@@ -415,6 +413,6 @@
415413 /* enable MTU2 clock */
416414 __raw_writeb(__raw_readb(STBCR3) & ~0x20, STBCR3);
417415
418
- early_platform_add_devices(sh7201_early_devices,
416
+ sh_early_platform_add_devices(sh7201_early_devices,
419417 ARRAY_SIZE(sh7201_early_devices));
420418 }