| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH-X3 Prototype Setup |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2007 - 2010 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> |
|---|
| .. | .. |
|---|
| 17 | 14 | #include <linux/sh_intc.h> |
|---|
| 18 | 15 | #include <cpu/shx3.h> |
|---|
| 19 | 16 | #include <asm/mmzone.h> |
|---|
| 17 | +#include <asm/platform_early.h> |
|---|
| 20 | 18 | |
|---|
| 21 | 19 | /* |
|---|
| 22 | 20 | * This intentionally only registers SCIF ports 0, 1, and 3. SCIF 2 |
|---|
| .. | .. |
|---|
| 155 | 153 | |
|---|
| 156 | 154 | void __init plat_early_device_setup(void) |
|---|
| 157 | 155 | { |
|---|
| 158 | | - early_platform_add_devices(shx3_early_devices, |
|---|
| 156 | + sh_early_platform_add_devices(shx3_early_devices, |
|---|
| 159 | 157 | ARRAY_SIZE(shx3_early_devices)); |
|---|
| 160 | 158 | } |
|---|
| 161 | 159 | |
|---|