diff options
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/kernel/bfin_dma_5xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index ad936843ecda..1882fd82879b 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
@@ -597,8 +597,8 @@ void *dma_memcpy(void *dest, const void *src, size_t size) | |||
597 | rest = size - bulk; | 597 | rest = size - bulk; |
598 | if (bulk) | 598 | if (bulk) |
599 | __dma_memcpy(dest, src, bulk); | 599 | __dma_memcpy(dest, src, bulk); |
600 | addr = __dma_memcpy(dest+bulk, src+bulk, rest); | 600 | __dma_memcpy(dest+bulk, src+bulk, rest); |
601 | return addr; | 601 | return dest; |
602 | } | 602 | } |
603 | EXPORT_SYMBOL(dma_memcpy); | 603 | EXPORT_SYMBOL(dma_memcpy); |
604 | 604 | ||