diff options
Diffstat (limited to 'arch/arm/mach-s5pc100/dma.c')
-rw-r--r-- | arch/arm/mach-s5pc100/dma.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-s5pc100/dma.c b/arch/arm/mach-s5pc100/dma.c index 96b1ab3dcd48..afd8db2d5991 100644 --- a/arch/arm/mach-s5pc100/dma.c +++ b/arch/arm/mach-s5pc100/dma.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | static u64 dma_dmamask = DMA_BIT_MASK(32); | 36 | static u64 dma_dmamask = DMA_BIT_MASK(32); |
37 | 37 | ||
38 | u8 pdma0_peri[] = { | 38 | static 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,15 +68,15 @@ u8 pdma0_peri[] = { | |||
68 | DMACH_HSI_TX, | 68 | DMACH_HSI_TX, |
69 | }; | 69 | }; |
70 | 70 | ||
71 | struct dma_pl330_platdata s5pc100_pdma0_pdata = { | 71 | static 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 | ||
76 | AMBA_AHB_DEVICE(s5pc100_pdma0, "dma-pl330.0", 0x00041330, S5PC100_PA_PDMA0, | 76 | static AMBA_AHB_DEVICE(s5pc100_pdma0, "dma-pl330.0", 0x00041330, |
77 | {IRQ_PDMA0}, &s5pc100_pdma0_pdata); | 77 | S5PC100_PA_PDMA0, {IRQ_PDMA0}, &s5pc100_pdma0_pdata); |
78 | 78 | ||
79 | u8 pdma1_peri[] = { | 79 | static u8 pdma1_peri[] = { |
80 | DMACH_UART0_RX, | 80 | DMACH_UART0_RX, |
81 | DMACH_UART0_TX, | 81 | DMACH_UART0_TX, |
82 | DMACH_UART1_RX, | 82 | DMACH_UART1_RX, |
@@ -109,13 +109,13 @@ u8 pdma1_peri[] = { | |||
109 | DMACH_MSM_REQ3, | 109 | DMACH_MSM_REQ3, |
110 | }; | 110 | }; |
111 | 111 | ||
112 | struct dma_pl330_platdata s5pc100_pdma1_pdata = { | 112 | static struct dma_pl330_platdata s5pc100_pdma1_pdata = { |
113 | .nr_valid_peri = ARRAY_SIZE(pdma1_peri), | 113 | .nr_valid_peri = ARRAY_SIZE(pdma1_peri), |
114 | .peri_id = pdma1_peri, | 114 | .peri_id = pdma1_peri, |
115 | }; | 115 | }; |
116 | 116 | ||
117 | AMBA_AHB_DEVICE(s5pc100_pdma1, "dma-pl330.1", 0x00041330, S5PC100_PA_PDMA1, | 117 | static AMBA_AHB_DEVICE(s5pc100_pdma1, "dma-pl330.1", 0x00041330, |
118 | {IRQ_PDMA1}, &s5pc100_pdma1_pdata); | 118 | S5PC100_PA_PDMA1, {IRQ_PDMA1}, &s5pc100_pdma1_pdata); |
119 | 119 | ||
120 | static int __init s5pc100_dma_init(void) | 120 | static int __init s5pc100_dma_init(void) |
121 | { | 121 | { |