| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Renesas MX-G (R8A03022BG) Setup |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2008, 2009 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> |
|---|
| 12 | 9 | #include <linux/serial.h> |
|---|
| 13 | 10 | #include <linux/serial_sci.h> |
|---|
| 14 | 11 | #include <linux/sh_timer.h> |
|---|
| 12 | +#include <asm/platform_early.h> |
|---|
| 15 | 13 | |
|---|
| 16 | 14 | enum { |
|---|
| 17 | 15 | UNUSED = 0, |
|---|
| .. | .. |
|---|
| 172 | 170 | |
|---|
| 173 | 171 | void __init plat_early_device_setup(void) |
|---|
| 174 | 172 | { |
|---|
| 175 | | - early_platform_add_devices(mxg_early_devices, |
|---|
| 173 | + sh_early_platform_add_devices(mxg_early_devices, |
|---|
| 176 | 174 | ARRAY_SIZE(mxg_early_devices)); |
|---|
| 177 | 175 | } |
|---|