Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / plat-samsung / dev-uart.c
blob7476a5dbae77945e74d8a46f935c3dc48f0e2bd6
1 // SPDX-License-Identifier: GPL-2.0
2 //
3 // originally from arch/arm/plat-s3c24xx/devs.c
4 //
5 // Copyright (c) 2004 Simtec Electronics
6 // Ben Dooks <ben@simtec.co.uk>
7 //
8 // Base S3C24XX platform device definitions
10 #include <linux/kernel.h>
11 #include <linux/platform_device.h>
13 #include <plat/devs.h>
15 /* uart devices */
17 static struct platform_device s3c24xx_uart_device0 = {
18 .id = 0,
21 static struct platform_device s3c24xx_uart_device1 = {
22 .id = 1,
25 static struct platform_device s3c24xx_uart_device2 = {
26 .id = 2,
29 static struct platform_device s3c24xx_uart_device3 = {
30 .id = 3,
33 struct platform_device *s3c24xx_uart_src[4] = {
34 &s3c24xx_uart_device0,
35 &s3c24xx_uart_device1,
36 &s3c24xx_uart_device2,
37 &s3c24xx_uart_device3,
40 struct platform_device *s3c24xx_uart_devs[4] = {