diff options
author | Kukjin Kim <kgene@kernel.org> | 2015-07-29 13:00:38 -0400 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-07-29 13:00:38 -0400 |
commit | 876ba9bafbc8aba7854c785ca5d13bbb5ef7b3cf (patch) | |
tree | 58f986a74183721ff7b1d5459f78129f04248bb3 /arch/arm/mach-s3c64xx | |
parent | 4a7bf56f7f98fee929c74dd579fa19529712974d (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')
-rw-r--r-- | arch/arm/mach-s3c64xx/common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/irq-uart.h | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/common.c b/arch/arm/mach-s3c64xx/common.c index 16547f2641a3..316df5a3dc82 100644 --- a/arch/arm/mach-s3c64xx/common.c +++ b/arch/arm/mach-s3c64xx/common.c | |||
@@ -48,12 +48,12 @@ | |||
48 | #include <plat/devs.h> | 48 | #include <plat/devs.h> |
49 | #include <plat/pm.h> | 49 | #include <plat/pm.h> |
50 | #include <plat/gpio-cfg.h> | 50 | #include <plat/gpio-cfg.h> |
51 | #include <plat/irq-uart.h> | ||
52 | #include <plat/pwm-core.h> | 51 | #include <plat/pwm-core.h> |
53 | #include <plat/regs-irqtype.h> | 52 | #include <plat/regs-irqtype.h> |
54 | #include <plat/watchdog-reset.h> | 53 | #include <plat/watchdog-reset.h> |
55 | 54 | ||
56 | #include "common.h" | 55 | #include "common.h" |
56 | #include "irq-uart.h" | ||
57 | 57 | ||
58 | /* External clock frequency */ | 58 | /* External clock frequency */ |
59 | static unsigned long xtal_f = 12000000, xusbxti_f = 48000000; | 59 | static unsigned long xtal_f = 12000000, xusbxti_f = 48000000; |
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 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2010 Simtec Electronics | ||
3 | * Ben Dooks <ben@simtec.co.uk> | ||
4 | * | ||
5 | * Header file for Samsung SoC UART IRQ demux for S3C64XX and later | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | |||
12 | struct s3c_uart_irq { | ||
13 | void __iomem *regs; | ||
14 | unsigned int base_irq; | ||
15 | unsigned int parent_irq; | ||
16 | }; | ||
17 | |||
18 | extern void s3c_init_uart_irqs(struct s3c_uart_irq *irq, unsigned int nr_irqs); | ||
19 | |||