| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH4-202 Setup |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2006 Paul Mundt |
|---|
| 5 | 6 | * Copyright (C) 2009 Magnus Damm |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 15 | 12 | #include <linux/sh_timer.h> |
|---|
| 16 | 13 | #include <linux/sh_intc.h> |
|---|
| 17 | 14 | #include <linux/io.h> |
|---|
| 15 | +#include <asm/platform_early.h> |
|---|
| 18 | 16 | |
|---|
| 19 | 17 | static struct plat_sci_port scif0_platform_data = { |
|---|
| 20 | 18 | .scscr = SCSCR_REIE, |
|---|
| .. | .. |
|---|
| 79 | 77 | |
|---|
| 80 | 78 | void __init plat_early_device_setup(void) |
|---|
| 81 | 79 | { |
|---|
| 82 | | - early_platform_add_devices(sh4202_early_devices, |
|---|
| 80 | + sh_early_platform_add_devices(sh4202_early_devices, |
|---|
| 83 | 81 | ARRAY_SIZE(sh4202_early_devices)); |
|---|
| 84 | 82 | } |
|---|
| 85 | 83 | |
|---|