Loading...
1/* linux/arch/arm/plat-samsung/dev-uart.c
2 * originally from arch/arm/plat-s3c24xx/devs.c
3 *x
4 * Copyright (c) 2004 Simtec Electronics
5 * Ben Dooks <ben@simtec.co.uk>
6 *
7 * Base S3C24XX platform device definitions
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13*/
14
15#include <linux/kernel.h>
16#include <linux/platform_device.h>
17
18#include <plat/devs.h>
19
20/* uart devices */
21
22static struct platform_device s3c24xx_uart_device0 = {
23 .id = 0,
24};
25
26static struct platform_device s3c24xx_uart_device1 = {
27 .id = 1,
28};
29
30static struct platform_device s3c24xx_uart_device2 = {
31 .id = 2,
32};
33
34static struct platform_device s3c24xx_uart_device3 = {
35 .id = 3,
36};
37
38struct platform_device *s3c24xx_uart_src[4] = {
39 &s3c24xx_uart_device0,
40 &s3c24xx_uart_device1,
41 &s3c24xx_uart_device2,
42 &s3c24xx_uart_device3,
43};
44
45struct platform_device *s3c24xx_uart_devs[4] = {
46};
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
9
10#include <linux/kernel.h>
11#include <linux/platform_device.h>
12
13#include <plat/devs.h>
14
15/* uart devices */
16
17static struct platform_device s3c24xx_uart_device0 = {
18 .id = 0,
19};
20
21static struct platform_device s3c24xx_uart_device1 = {
22 .id = 1,
23};
24
25static struct platform_device s3c24xx_uart_device2 = {
26 .id = 2,
27};
28
29static struct platform_device s3c24xx_uart_device3 = {
30 .id = 3,
31};
32
33struct platform_device *s3c24xx_uart_src[4] = {
34 &s3c24xx_uart_device0,
35 &s3c24xx_uart_device1,
36 &s3c24xx_uart_device2,
37 &s3c24xx_uart_device3,
38};
39
40struct platform_device *s3c24xx_uart_devs[4] = {
41};