diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2009-08-08 17:07:20 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-09-10 06:49:28 -0400 |
commit | 43c6342b1562cc27d8ba1240220cb887ad0e36f0 (patch) | |
tree | df3db62a1ed5c9e1c222c2f2a69affe0a861b471 /arch/arm/plat-pxa/dma.c | |
parent | 36714c935a5d4125c6ccd013484de725dc09b387 (diff) |
[ARM] pxa/dma: cosmetic move of EXPORT_SYMBOL under their functions
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/plat-pxa/dma.c')
-rw-r--r-- | arch/arm/plat-pxa/dma.c | 5 |
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 | } |
74 | EXPORT_SYMBOL(pxa_request_dma); | ||
74 | 75 | ||
75 | void pxa_free_dma (int dma_ch) | 76 | void 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 | } |
92 | EXPORT_SYMBOL(pxa_free_dma); | ||
91 | 93 | ||
92 | static irqreturn_t dma_irq_handler(int irq, void *dev_id) | 94 | static 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 | |||
143 | EXPORT_SYMBOL(pxa_request_dma); | ||
144 | EXPORT_SYMBOL(pxa_free_dma); | ||