[ARM] pxa/dma: cosmetic move of EXPORT_SYMBOL under their functions
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 8 Aug 2009 21:07:20 +0000 (23:07 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 10 Sep 2009 10:49:28 +0000 (18:49 +0800)
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/plat-pxa/dma.c

index 70aeee407f7d6d537a9bfc2f24fb25c16f46eab4..897663dbc5f4deb72f99965d8a3b9a114ae1b7f4 100644 (file)
@@ -71,6 +71,7 @@ int pxa_request_dma (char *name, pxa_dma_prio prio,
        local_irq_restore(flags);
        return i;
 }
+EXPORT_SYMBOL(pxa_request_dma);
 
 void pxa_free_dma (int dma_ch)
 {
@@ -88,6 +89,7 @@ void pxa_free_dma (int dma_ch)
        dma_channels[dma_ch].name = NULL;
        local_irq_restore(flags);
 }
+EXPORT_SYMBOL(pxa_free_dma);
 
 static irqreturn_t dma_irq_handler(int irq, void *dev_id)
 {
@@ -139,6 +141,3 @@ int __init pxa_init_dma(int irq, int num_ch)
        num_dma_channels = num_ch;
        return 0;
 }
-
-EXPORT_SYMBOL(pxa_request_dma);
-EXPORT_SYMBOL(pxa_free_dma);