| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * arch/sh/kernel/cpu/sh4a/setup-sh7734.c |
|---|
| 3 | | - |
|---|
| 4 | + * |
|---|
| 4 | 5 | * SH7734 Setup |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Copyright (C) 2011,2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> |
|---|
| 7 | 8 | * Copyright (C) 2011,2012 Renesas Solutions Corp. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 10 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 11 | | - * for more details. |
|---|
| 12 | 9 | */ |
|---|
| 13 | 10 | |
|---|
| 14 | 11 | #include <linux/platform_device.h> |
|---|
| .. | .. |
|---|
| 21 | 18 | #include <linux/io.h> |
|---|
| 22 | 19 | #include <asm/clock.h> |
|---|
| 23 | 20 | #include <asm/irq.h> |
|---|
| 21 | +#include <asm/platform_early.h> |
|---|
| 24 | 22 | #include <cpu/sh7734.h> |
|---|
| 25 | 23 | |
|---|
| 26 | 24 | /* SCIF */ |
|---|
| .. | .. |
|---|
| 283 | 281 | |
|---|
| 284 | 282 | void __init plat_early_device_setup(void) |
|---|
| 285 | 283 | { |
|---|
| 286 | | - early_platform_add_devices(sh7734_early_devices, |
|---|
| 284 | + sh_early_platform_add_devices(sh7734_early_devices, |
|---|
| 287 | 285 | ARRAY_SIZE(sh7734_early_devices)); |
|---|
| 288 | 286 | } |
|---|
| 289 | 287 | |
|---|