.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | /* |
---|
2 | 3 | * SH7705 Setup |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2006 - 2009 Paul Mundt |
---|
5 | 6 | * Copyright (C) 2007 Nobuhiro Iwamatsu |
---|
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. |
---|
10 | 7 | */ |
---|
11 | 8 | #include <linux/platform_device.h> |
---|
12 | 9 | #include <linux/init.h> |
---|
.. | .. |
---|
17 | 14 | #include <linux/sh_intc.h> |
---|
18 | 15 | #include <asm/rtc.h> |
---|
19 | 16 | #include <cpu/serial.h> |
---|
| 17 | +#include <asm/platform_early.h> |
---|
20 | 18 | |
---|
21 | 19 | enum { |
---|
22 | 20 | UNUSED = 0, |
---|
.. | .. |
---|
181 | 179 | |
---|
182 | 180 | void __init plat_early_device_setup(void) |
---|
183 | 181 | { |
---|
184 | | - early_platform_add_devices(sh7705_early_devices, |
---|
| 182 | + sh_early_platform_add_devices(sh7705_early_devices, |
---|
185 | 183 | ARRAY_SIZE(sh7705_early_devices)); |
---|
186 | 184 | } |
---|
187 | 185 | |
---|