aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100/dma.c
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2012-01-20 21:15:41 -0500
committerKukjin Kim <kgene.kim@samsung.com>2012-01-20 23:06:17 -0500
commitad016770d43ff46662255b668937e82d519963b6 (patch)
tree47fda6f4200879732d3065f5a8d45c771b168369 /arch/arm/mach-s5pc100/dma.c
parent15545026ad615e15bd9457941a66c8a6d5387fe4 (diff)
ARM: S5PC100: use static declaration when it is not used in other files
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pc100/dma.c')
-rw-r--r--arch/arm/mach-s5pc100/dma.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-s5pc100/dma.c b/arch/arm/mach-s5pc100/dma.c
index c841f4d313f2..395e46ba9bc3 100644
--- a/arch/arm/mach-s5pc100/dma.c
+++ b/arch/arm/mach-s5pc100/dma.c
@@ -35,7 +35,7 @@
35 35
36static u64 dma_dmamask = DMA_BIT_MASK(32); 36static u64 dma_dmamask = DMA_BIT_MASK(32);
37 37
38u8 pdma0_peri[] = { 38static u8 pdma0_peri[] = {
39 DMACH_UART0_RX, 39 DMACH_UART0_RX,
40 DMACH_UART0_TX, 40 DMACH_UART0_TX,
41 DMACH_UART1_RX, 41 DMACH_UART1_RX,
@@ -68,12 +68,12 @@ u8 pdma0_peri[] = {
68 DMACH_HSI_TX, 68 DMACH_HSI_TX,
69}; 69};
70 70
71struct dma_pl330_platdata s5pc100_pdma0_pdata = { 71static struct dma_pl330_platdata s5pc100_pdma0_pdata = {
72 .nr_valid_peri = ARRAY_SIZE(pdma0_peri), 72 .nr_valid_peri = ARRAY_SIZE(pdma0_peri),
73 .peri_id = pdma0_peri, 73 .peri_id = pdma0_peri,
74}; 74};
75 75
76struct amba_device s5pc100_device_pdma0 = { 76static struct amba_device s5pc100_device_pdma0 = {
77 .dev = { 77 .dev = {
78 .init_name = "dma-pl330.0", 78 .init_name = "dma-pl330.0",
79 .dma_mask = &dma_dmamask, 79 .dma_mask = &dma_dmamask,
@@ -89,7 +89,7 @@ struct amba_device s5pc100_device_pdma0 = {
89 .periphid = 0x00041330, 89 .periphid = 0x00041330,
90}; 90};
91 91
92u8 pdma1_peri[] = { 92static u8 pdma1_peri[] = {
93 DMACH_UART0_RX, 93 DMACH_UART0_RX,
94 DMACH_UART0_TX, 94 DMACH_UART0_TX,
95 DMACH_UART1_RX, 95 DMACH_UART1_RX,
@@ -122,12 +122,12 @@ u8 pdma1_peri[] = {
122 DMACH_MSM_REQ3, 122 DMACH_MSM_REQ3,
123}; 123};
124 124
125struct dma_pl330_platdata s5pc100_pdma1_pdata = { 125static struct dma_pl330_platdata s5pc100_pdma1_pdata = {
126 .nr_valid_peri = ARRAY_SIZE(pdma1_peri), 126 .nr_valid_peri = ARRAY_SIZE(pdma1_peri),
127 .peri_id = pdma1_peri, 127 .peri_id = pdma1_peri,
128}; 128};
129 129
130struct amba_device s5pc100_device_pdma1 = { 130static struct amba_device s5pc100_device_pdma1 = {
131 .dev = { 131 .dev = {
132 .init_name = "dma-pl330.1", 132 .init_name = "dma-pl330.1",
133 .dma_mask = &dma_dmamask, 133 .dma_mask = &dma_dmamask,