| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH7619 Setup |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2006 Yoshinori Sato |
|---|
| 5 | 6 | * Copyright (C) 2009 Paul Mundt |
|---|
| 6 | | - * |
|---|
| 7 | | - * This file is subject to the terms and conditions of the GNU General Public |
|---|
| 8 | | - * License. See the file "COPYING" in the main directory of this archive |
|---|
| 9 | | - * for more details. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | #include <linux/platform_device.h> |
|---|
| 12 | 9 | #include <linux/init.h> |
|---|
| .. | .. |
|---|
| 15 | 12 | #include <linux/sh_eth.h> |
|---|
| 16 | 13 | #include <linux/sh_timer.h> |
|---|
| 17 | 14 | #include <linux/io.h> |
|---|
| 15 | +#include <asm/platform_early.h> |
|---|
| 18 | 16 | |
|---|
| 19 | 17 | enum { |
|---|
| 20 | 18 | UNUSED = 0, |
|---|
| .. | .. |
|---|
| 202 | 200 | /* enable CMT clock */ |
|---|
| 203 | 201 | __raw_writeb(__raw_readb(STBCR3) & ~0x10, STBCR3); |
|---|
| 204 | 202 | |
|---|
| 205 | | - early_platform_add_devices(sh7619_early_devices, |
|---|
| 203 | + sh_early_platform_add_devices(sh7619_early_devices, |
|---|
| 206 | 204 | ARRAY_SIZE(sh7619_early_devices)); |
|---|
| 207 | 205 | } |
|---|