| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * SH7780 Setup |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2006 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> |
|---|
| .. | .. |
|---|
| 16 | 13 | #include <linux/sh_timer.h> |
|---|
| 17 | 14 | #include <linux/sh_intc.h> |
|---|
| 18 | 15 | #include <cpu/dma-register.h> |
|---|
| 16 | +#include <asm/platform_early.h> |
|---|
| 19 | 17 | |
|---|
| 20 | 18 | static struct plat_sci_port scif0_platform_data = { |
|---|
| 21 | 19 | .scscr = SCSCR_REIE | SCSCR_CKE1, |
|---|
| .. | .. |
|---|
| 288 | 286 | scif1_platform_data.scscr &= ~SCSCR_CKE1; |
|---|
| 289 | 287 | } |
|---|
| 290 | 288 | |
|---|
| 291 | | - early_platform_add_devices(sh7780_early_devices, |
|---|
| 289 | + sh_early_platform_add_devices(sh7780_early_devices, |
|---|
| 292 | 290 | ARRAY_SIZE(sh7780_early_devices)); |
|---|
| 293 | 291 | } |
|---|
| 294 | 292 | |
|---|