mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[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>
This commit is contained in:
parent
36714c935a
commit
43c6342b15
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue