Root/arch/arm/plat-samsung/dev-uart.c

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/* uart devices */
19
20static struct platform_device s3c24xx_uart_device0 = {
21    .id = 0,
22};
23
24static struct platform_device s3c24xx_uart_device1 = {
25    .id = 1,
26};
27
28static struct platform_device s3c24xx_uart_device2 = {
29    .id = 2,
30};
31
32static struct platform_device s3c24xx_uart_device3 = {
33    .id = 3,
34};
35
36struct platform_device *s3c24xx_uart_src[4] = {
37    &s3c24xx_uart_device0,
38    &s3c24xx_uart_device1,
39    &s3c24xx_uart_device2,
40    &s3c24xx_uart_device3,
41};
42
43struct platform_device *s3c24xx_uart_devs[4] = {
44};
45

Archive Download this file



interactive