| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH7763 Setup |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2006 Paul Mundt |
|---|
| 5 | 6 | * Copyright (C) 2007 Yoshihiro Shimoda |
|---|
| 6 | 7 | * Copyright (C) 2008, 2009 Nobuhiro Iwamatsu |
|---|
| 7 | | - * |
|---|
| 8 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 9 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 10 | | - * for more details. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | #include <linux/platform_device.h> |
|---|
| 13 | 10 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 17 | 14 | #include <linux/io.h> |
|---|
| 18 | 15 | #include <linux/serial_sci.h> |
|---|
| 19 | 16 | #include <linux/usb/ohci_pdriver.h> |
|---|
| 17 | +#include <asm/platform_early.h> |
|---|
| 20 | 18 | |
|---|
| 21 | 19 | static struct plat_sci_port scif0_platform_data = { |
|---|
| 22 | 20 | .scscr = SCSCR_REIE, |
|---|
| .. | .. |
|---|
| 224 | 222 | |
|---|
| 225 | 223 | void __init plat_early_device_setup(void) |
|---|
| 226 | 224 | { |
|---|
| 227 | | - early_platform_add_devices(sh7763_early_devices, |
|---|
| 225 | + sh_early_platform_add_devices(sh7763_early_devices, |
|---|
| 228 | 226 | ARRAY_SIZE(sh7763_early_devices)); |
|---|
| 229 | 227 | } |
|---|
| 230 | 228 | |
|---|