.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | /* |
---|
2 | 3 | * SH7201 setup |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2008 Peter Griffin pgriffin@mpc-data.co.uk |
---|
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> |
---|
.. | .. |
---|
14 | 11 | #include <linux/serial_sci.h> |
---|
15 | 12 | #include <linux/sh_timer.h> |
---|
16 | 13 | #include <linux/io.h> |
---|
| 14 | +#include <asm/platform_early.h> |
---|
17 | 15 | |
---|
18 | 16 | enum { |
---|
19 | 17 | UNUSED = 0, |
---|
.. | .. |
---|
415 | 413 | /* enable MTU2 clock */ |
---|
416 | 414 | __raw_writeb(__raw_readb(STBCR3) & ~0x20, STBCR3); |
---|
417 | 415 | |
---|
418 | | - early_platform_add_devices(sh7201_early_devices, |
---|
| 416 | + sh_early_platform_add_devices(sh7201_early_devices, |
---|
419 | 417 | ARRAY_SIZE(sh7201_early_devices)); |
---|
420 | 418 | } |
---|