| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH7760 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> |
|---|
| .. | .. |
|---|
| 14 | 11 | #include <linux/sh_intc.h> |
|---|
| 15 | 12 | #include <linux/serial_sci.h> |
|---|
| 16 | 13 | #include <linux/io.h> |
|---|
| 14 | +#include <asm/platform_early.h> |
|---|
| 17 | 15 | |
|---|
| 18 | 16 | enum { |
|---|
| 19 | 17 | UNUSED = 0, |
|---|
| .. | .. |
|---|
| 274 | 272 | |
|---|
| 275 | 273 | void __init plat_early_device_setup(void) |
|---|
| 276 | 274 | { |
|---|
| 277 | | - early_platform_add_devices(sh7760_early_devices, |
|---|
| 275 | + sh_early_platform_add_devices(sh7760_early_devices, |
|---|
| 278 | 276 | ARRAY_SIZE(sh7760_early_devices)); |
|---|
| 279 | 277 | } |
|---|
| 280 | 278 | |
|---|