aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2410/devs.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-06-18 23:04:05 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-18 23:04:05 +0100
commit66a9b49a370baac75d90b7da9a2445997a8a9438 (patch)
tree62b22d1559c1c1d1e02428f27c08dca0fb66aa83 /arch/arm/mach-s3c2410/devs.h
parent810c894f2b27b634883723f9fee10a7cf1d0bcb4 (diff)
[ARM] 3557/1: S3C24XX: centralise and cleanup uart registration
Patch from Ben Dooks All the S3C24XX based devices currently have similar uart blocks, in the same location. Make the process of adding new uart blocks easier by commonising the device definitions and adding a new init function for the cpu code. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/devs.h')
-rw-r--r--arch/arm/mach-s3c2410/devs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/devs.h b/arch/arm/mach-s3c2410/devs.h
index 52c4bab5c76..fa124ed920e 100644
--- a/arch/arm/mach-s3c2410/devs.h
+++ b/arch/arm/mach-s3c2410/devs.h
@@ -17,7 +17,15 @@
#include <linux/config.h>
#include <linux/platform_device.h>
+struct s3c24xx_uart_resources {
+ struct resource *resources;
+ unsigned long nr_resources;
+};
+
+extern struct s3c24xx_uart_resources s3c2410_uart_resources[];
+
extern struct platform_device *s3c24xx_uart_devs[];
+extern struct platform_device *s3c24xx_uart_src[];
extern struct platform_device s3c_device_usb;
extern struct platform_device s3c_device_lcd;