aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/include/plat/irq-uart.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-06 11:18:44 +0900
committerBen Dooks <ben-linux@fluff.org>2010-01-15 17:10:14 +0900
commit51022cf6591ae2945960d034788bdeffa28cde13 (patch)
tree30f85bb15cdd66384018c31cb42c4ba986a68da4 /arch/arm/plat-samsung/include/plat/irq-uart.h
parent7162ba03729e0a47aaab44448ce2453f07a9664d (diff)
ARM: SAMSUNG: Move IRQ UART handling for newer devices to plat-samsung
Move the handling for the UART interrupts out of the s3c64xx specific code and into plat-samsung so that it can be used by all implementations that need it. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/irq-uart.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/irq-uart.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/irq-uart.h b/arch/arm/plat-samsung/include/plat/irq-uart.h
new file mode 100644
index 00000000000..a9331e49bea
--- /dev/null
+++ b/arch/arm/plat-samsung/include/plat/irq-uart.h
@@ -0,0 +1,20 @@
+/* arch/arm/plat-samsung/include/plat/irq-uart.h
+ *
+ * Copyright (c) 2010 Simtec Electronics
+ * Ben Dooks <ben@simtec.co.uk>
+ *
+ * Header file for Samsung SoC UART IRQ demux for S3C64XX and later
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+struct s3c_uart_irq {
+ void __iomem *regs;
+ unsigned int base_irq;
+ unsigned int parent_irq;
+};
+
+extern void s3c_init_uart_irqs(struct s3c_uart_irq *irq, unsigned int nr_irqs);
+