diff options
author | Aubrey Li | 2007-06-11 09:31:30 +0200 |
---|---|---|
committer | Bryan Wu | 2007-06-11 09:31:30 +0200 |
commit | ac1bd53c067397947b5d805c631519282f5678fe (patch) | |
tree | ee468cc6591b3bbae575b91a47491314dd05d009 /arch/blackfin/kernel | |
parent | Blackfin arch: remove defconfig file (diff) | |
download | kernel-qcow2-linux-ac1bd53c067397947b5d805c631519282f5678fe.tar.gz kernel-qcow2-linux-ac1bd53c067397947b5d805c631519282f5678fe.tar.xz kernel-qcow2-linux-ac1bd53c067397947b5d805c631519282f5678fe.zip |
Blackfin arch: DMA code minor naming convention fix
Signed-off-by: Aubrey Li <aubrey.li@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r-- | arch/blackfin/kernel/bfin_dma_5xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 0ccb0dc3f833..069a896a8f26 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c @@ -595,7 +595,7 @@ unsigned short get_dma_curr_ycount(unsigned int channel) } EXPORT_SYMBOL(get_dma_curr_ycount); -void *_dma_memcpy(void *dest, const void *src, size_t size) +static void *__dma_memcpy(void *dest, const void *src, size_t size) { int direction; /* 1 - address decrease, 0 - address increase */ int flag_align; /* 1 - address aligned, 0 - address unaligned */ @@ -744,8 +744,8 @@ void *dma_memcpy(void *dest, const void *src, size_t size) bulk = (size >> 16) << 16; rest = size - bulk; if (bulk) - _dma_memcpy(dest, src, bulk); - addr = _dma_memcpy(dest+bulk, src+bulk, rest); + __dma_memcpy(dest, src, bulk); + addr = __dma_memcpy(dest+bulk, src+bulk, rest); return addr; } |