]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: DMA code minor naming convention fix
authorAubrey Li <aubrey.li@analog.com>
Mon, 11 Jun 2007 07:31:30 +0000 (15:31 +0800)
committerBryan Wu <bryan.wu@analog.com>
Mon, 11 Jun 2007 07:31:30 +0000 (15:31 +0800)
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>
arch/blackfin/kernel/bfin_dma_5xx.c

index 0ccb0dc3f833392e602767c1708883cf752c7589..069a896a8f260e67c7354066b6c05020811383cc 100644 (file)
@@ -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;
 }