.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | /* |
---|
2 | 3 | * Setup code for SH7720, SH7721. |
---|
3 | 4 | * |
---|
.. | .. |
---|
8 | 9 | * |
---|
9 | 10 | * Copyright (C) 2006 Paul Mundt |
---|
10 | 11 | * Copyright (C) 2006 Jamie Lenehan |
---|
11 | | - * |
---|
12 | | - * This file is subject to the terms and conditions of the GNU General Public |
---|
13 | | - * License. See the file "COPYING" in the main directory of this archive |
---|
14 | | - * for more details. |
---|
15 | 12 | */ |
---|
16 | 13 | #include <linux/platform_device.h> |
---|
17 | 14 | #include <linux/init.h> |
---|
.. | .. |
---|
22 | 19 | #include <linux/sh_intc.h> |
---|
23 | 20 | #include <linux/usb/ohci_pdriver.h> |
---|
24 | 21 | #include <asm/rtc.h> |
---|
| 22 | +#include <asm/platform_early.h> |
---|
25 | 23 | #include <cpu/serial.h> |
---|
26 | 24 | |
---|
27 | 25 | static struct resource rtc_resources[] = { |
---|
.. | .. |
---|
214 | 212 | |
---|
215 | 213 | void __init plat_early_device_setup(void) |
---|
216 | 214 | { |
---|
217 | | - early_platform_add_devices(sh7720_early_devices, |
---|
| 215 | + sh_early_platform_add_devices(sh7720_early_devices, |
---|
218 | 216 | ARRAY_SIZE(sh7720_early_devices)); |
---|
219 | 217 | } |
---|
220 | 218 | |
---|