aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-pxa
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-pxa')
-rw-r--r--arch/arm/plat-pxa/dma.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/plat-pxa/dma.c b/arch/arm/plat-pxa/dma.c
index 70aeee407f7d..897663dbc5f4 100644
--- a/arch/arm/plat-pxa/dma.c
+++ b/arch/arm/plat-pxa/dma.c
@@ -71,6 +71,7 @@ int pxa_request_dma (char *name, pxa_dma_prio prio,
71 local_irq_restore(flags); 71 local_irq_restore(flags);
72 return i; 72 return i;
73} 73}
74EXPORT_SYMBOL(pxa_request_dma);
74 75
75void pxa_free_dma (int dma_ch) 76void pxa_free_dma (int dma_ch)
76{ 77{
@@ -88,6 +89,7 @@ void pxa_free_dma (int dma_ch)
88 dma_channels[dma_ch].name = NULL; 89 dma_channels[dma_ch].name = NULL;
89 local_irq_restore(flags); 90 local_irq_restore(flags);
90} 91}
92EXPORT_SYMBOL(pxa_free_dma);
91 93
92static irqreturn_t dma_irq_handler(int irq, void *dev_id) 94static irqreturn_t dma_irq_handler(int irq, void *dev_id)
93{ 95{
@@ -139,6 +141,3 @@ int __init pxa_init_dma(int irq, int num_ch)
139 num_dma_channels = num_ch; 141 num_dma_channels = num_ch;
140 return 0; 142 return 0;
141} 143}
142
143EXPORT_SYMBOL(pxa_request_dma);
144EXPORT_SYMBOL(pxa_free_dma);