diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-10-02 20:46:56 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-10-05 22:15:09 -0400 |
commit | 5716714927b789a27853eaacdbba1f2675505af0 (patch) | |
tree | dfd522832c9312e0438c190a52484ca7fa1bd1d3 /arch/arm/plat-s5p/dev-fimc1.c | |
parent | 0523ec3a685573730dbd619544c46465f5df6147 (diff) |
ARM: S5P: To merge devs.c files to one devs.c
This patch moves regarding s5p dev files to one devs.c file
in plat-samsung directory and this help to keep it more
easily.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-s5p/dev-fimc1.c')
-rw-r--r-- | arch/arm/plat-s5p/dev-fimc1.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/arch/arm/plat-s5p/dev-fimc1.c b/arch/arm/plat-s5p/dev-fimc1.c deleted file mode 100644 index 76e3a97a87d3..000000000000 --- a/arch/arm/plat-s5p/dev-fimc1.c +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | /* linux/arch/arm/plat-s5p/dev-fimc1.c | ||
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics | ||
4 | * | ||
5 | * Base S5P FIMC1 resource and device definitions | ||
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 | #include <linux/kernel.h> | ||
13 | #include <linux/dma-mapping.h> | ||
14 | #include <linux/platform_device.h> | ||
15 | #include <linux/interrupt.h> | ||
16 | #include <linux/ioport.h> | ||
17 | #include <mach/map.h> | ||
18 | |||
19 | static struct resource s5p_fimc1_resource[] = { | ||
20 | [0] = { | ||
21 | .start = S5P_PA_FIMC1, | ||
22 | .end = S5P_PA_FIMC1 + SZ_4K - 1, | ||
23 | .flags = IORESOURCE_MEM, | ||
24 | }, | ||
25 | [1] = { | ||
26 | .start = IRQ_FIMC1, | ||
27 | .end = IRQ_FIMC1, | ||
28 | .flags = IORESOURCE_IRQ, | ||
29 | }, | ||
30 | }; | ||
31 | |||
32 | static u64 s5p_fimc1_dma_mask = DMA_BIT_MASK(32); | ||
33 | |||
34 | struct platform_device s5p_device_fimc1 = { | ||
35 | .name = "s5p-fimc", | ||
36 | .id = 1, | ||
37 | .num_resources = ARRAY_SIZE(s5p_fimc1_resource), | ||
38 | .resource = s5p_fimc1_resource, | ||
39 | .dev = { | ||
40 | .dma_mask = &s5p_fimc1_dma_mask, | ||
41 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
42 | }, | ||
43 | }; | ||