| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH7343 Setup |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2006 Paul Mundt |
|---|
| 5 | | - * |
|---|
| 6 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 7 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 8 | | - * for more details. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | #include <linux/platform_device.h> |
|---|
| 11 | 8 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 15 | 12 | #include <linux/sh_timer.h> |
|---|
| 16 | 13 | #include <linux/sh_intc.h> |
|---|
| 17 | 14 | #include <asm/clock.h> |
|---|
| 15 | +#include <asm/platform_early.h> |
|---|
| 18 | 16 | |
|---|
| 19 | 17 | /* Serial */ |
|---|
| 20 | 18 | static struct plat_sci_port scif0_platform_data = { |
|---|
| .. | .. |
|---|
| 299 | 297 | |
|---|
| 300 | 298 | void __init plat_early_device_setup(void) |
|---|
| 301 | 299 | { |
|---|
| 302 | | - early_platform_add_devices(sh7343_early_devices, |
|---|
| 300 | + sh_early_platform_add_devices(sh7343_early_devices, |
|---|
| 303 | 301 | ARRAY_SIZE(sh7343_early_devices)); |
|---|
| 304 | 302 | } |
|---|
| 305 | 303 | |
|---|