| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH7366 Setup |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2008 Renesas Solutions |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Based on linux/arch/sh/kernel/cpu/sh4a/setup-sh7722.c |
|---|
| 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> |
|---|
| .. | .. |
|---|
| 18 | 15 | #include <linux/sh_intc.h> |
|---|
| 19 | 16 | #include <linux/usb/r8a66597.h> |
|---|
| 20 | 17 | #include <asm/clock.h> |
|---|
| 18 | +#include <asm/platform_early.h> |
|---|
| 21 | 19 | |
|---|
| 22 | 20 | static struct plat_sci_port scif0_platform_data = { |
|---|
| 23 | 21 | .scscr = SCSCR_REIE, |
|---|
| .. | .. |
|---|
| 243 | 241 | |
|---|
| 244 | 242 | void __init plat_early_device_setup(void) |
|---|
| 245 | 243 | { |
|---|
| 246 | | - early_platform_add_devices(sh7366_early_devices, |
|---|
| 244 | + sh_early_platform_add_devices(sh7366_early_devices, |
|---|
| 247 | 245 | ARRAY_SIZE(sh7366_early_devices)); |
|---|
| 248 | 246 | } |
|---|
| 249 | 247 | |
|---|