summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/irq-uart.h
diff options
context:
space:
mode:
authorKukjin Kim <kgene@kernel.org>2015-07-30 02:00:38 +0900
committerKukjin Kim <kgene@kernel.org>2015-07-30 02:00:38 +0900
commit876ba9bafbc8aba7854c785ca5d13bbb5ef7b3cf (patch)
tree58f986a74183721ff7b1d5459f78129f04248bb3 /arch/arm/mach-s3c64xx/irq-uart.h
parent4a7bf56f7f98fee929c74dd579fa19529712974d (diff)
ARM: SAMSUNG: local irq-uart header in mach-s3c64xx
This patch moves irq-uart header file into mach-s3c64xx. Because it is not used for others except mach-s3c64xx. Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/irq-uart.h')
-rw-r--r--arch/arm/mach-s3c64xx/irq-uart.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/irq-uart.h b/arch/arm/mach-s3c64xx/irq-uart.h
new file mode 100644
index 000000000000..4b296132962f
--- /dev/null
+++ b/arch/arm/mach-s3c64xx/irq-uart.h
@@ -0,0 +1,19 @@
+/*
+ * 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);
+