diff options
Diffstat (limited to 'arch/arm/mach-s5p64x0/dma.c')
-rw-r--r-- | arch/arm/mach-s5p64x0/dma.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-s5p64x0/dma.c b/arch/arm/mach-s5p64x0/dma.c index f7f68ad77910..2ee5dc069b37 100644 --- a/arch/arm/mach-s5p64x0/dma.c +++ b/arch/arm/mach-s5p64x0/dma.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | static u64 dma_dmamask = DMA_BIT_MASK(32); | 39 | static u64 dma_dmamask = DMA_BIT_MASK(32); |
40 | 40 | ||
41 | u8 s5p6440_pdma_peri[] = { | 41 | static u8 s5p6440_pdma_peri[] = { |
42 | DMACH_UART0_RX, | 42 | DMACH_UART0_RX, |
43 | DMACH_UART0_TX, | 43 | DMACH_UART0_TX, |
44 | DMACH_UART1_RX, | 44 | DMACH_UART1_RX, |
@@ -63,12 +63,12 @@ u8 s5p6440_pdma_peri[] = { | |||
63 | DMACH_SPI1_RX, | 63 | DMACH_SPI1_RX, |
64 | }; | 64 | }; |
65 | 65 | ||
66 | struct dma_pl330_platdata s5p6440_pdma_pdata = { | 66 | static struct dma_pl330_platdata s5p6440_pdma_pdata = { |
67 | .nr_valid_peri = ARRAY_SIZE(s5p6440_pdma_peri), | 67 | .nr_valid_peri = ARRAY_SIZE(s5p6440_pdma_peri), |
68 | .peri_id = s5p6440_pdma_peri, | 68 | .peri_id = s5p6440_pdma_peri, |
69 | }; | 69 | }; |
70 | 70 | ||
71 | u8 s5p6450_pdma_peri[] = { | 71 | static u8 s5p6450_pdma_peri[] = { |
72 | DMACH_UART0_RX, | 72 | DMACH_UART0_RX, |
73 | DMACH_UART0_TX, | 73 | DMACH_UART0_TX, |
74 | DMACH_UART1_RX, | 74 | DMACH_UART1_RX, |
@@ -103,13 +103,13 @@ u8 s5p6450_pdma_peri[] = { | |||
103 | DMACH_UART5_TX, | 103 | DMACH_UART5_TX, |
104 | }; | 104 | }; |
105 | 105 | ||
106 | struct dma_pl330_platdata s5p6450_pdma_pdata = { | 106 | static struct dma_pl330_platdata s5p6450_pdma_pdata = { |
107 | .nr_valid_peri = ARRAY_SIZE(s5p6450_pdma_peri), | 107 | .nr_valid_peri = ARRAY_SIZE(s5p6450_pdma_peri), |
108 | .peri_id = s5p6450_pdma_peri, | 108 | .peri_id = s5p6450_pdma_peri, |
109 | }; | 109 | }; |
110 | 110 | ||
111 | AMBA_AHB_DEVICE(s5p64x0_pdma, "dma-pl330", 0x00041330, S5P64X0_PA_PDMA, | 111 | static AMBA_AHB_DEVICE(s5p64x0_pdma, "dma-pl330", 0x00041330, |
112 | {IRQ_DMA0}, NULL); | 112 | S5P64X0_PA_PDMA, {IRQ_DMA0}, NULL); |
113 | 113 | ||
114 | static int __init s5p64x0_dma_init(void) | 114 | static int __init s5p64x0_dma_init(void) |
115 | { | 115 | { |