.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | /* |
---|
2 | 3 | * SH7203 and SH7263 Setup |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2007 - 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> |
---|
.. | .. |
---|
13 | 10 | #include <linux/serial_sci.h> |
---|
14 | 11 | #include <linux/sh_timer.h> |
---|
15 | 12 | #include <linux/io.h> |
---|
| 13 | +#include <asm/platform_early.h> |
---|
16 | 14 | |
---|
17 | 15 | enum { |
---|
18 | 16 | UNUSED = 0, |
---|
.. | .. |
---|
352 | 350 | /* enable MTU2 clock */ |
---|
353 | 351 | __raw_writeb(__raw_readb(STBCR3) & ~0x20, STBCR3); |
---|
354 | 352 | |
---|
355 | | - early_platform_add_devices(sh7203_early_devices, |
---|
| 353 | + sh_early_platform_add_devices(sh7203_early_devices, |
---|
356 | 354 | ARRAY_SIZE(sh7203_early_devices)); |
---|
357 | 355 | } |
---|