Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dev-uart.c
Go to the documentation of this file.
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 <[email protected]>
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 
22 static struct platform_device s3c24xx_uart_device0 = {
23  .id = 0,
24 };
25 
26 static struct platform_device s3c24xx_uart_device1 = {
27  .id = 1,
28 };
29 
30 static struct platform_device s3c24xx_uart_device2 = {
31  .id = 2,
32 };
33 
34 static struct platform_device s3c24xx_uart_device3 = {
35  .id = 3,
36 };
37 
39  &s3c24xx_uart_device0,
40  &s3c24xx_uart_device1,
41  &s3c24xx_uart_device2,
42  &s3c24xx_uart_device3,
43 };
44 
46 };