Commit ac1bd53c authored by Aubrey Li's avatar Aubrey Li Committed by Bryan Wu

Blackfin arch: DMA code minor naming convention fix

Signed-off-by: default avatarAubrey Li <aubrey.li@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
parent db94d9d2
...@@ -595,7 +595,7 @@ unsigned short get_dma_curr_ycount(unsigned int channel) ...@@ -595,7 +595,7 @@ unsigned short get_dma_curr_ycount(unsigned int channel)
} }
EXPORT_SYMBOL(get_dma_curr_ycount); 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 direction; /* 1 - address decrease, 0 - address increase */
int flag_align; /* 1 - address aligned, 0 - address unaligned */ int flag_align; /* 1 - address aligned, 0 - address unaligned */
...@@ -744,8 +744,8 @@ void *dma_memcpy(void *dest, const void *src, size_t size) ...@@ -744,8 +744,8 @@ void *dma_memcpy(void *dest, const void *src, size_t size)
bulk = (size >> 16) << 16; bulk = (size >> 16) << 16;
rest = size - bulk; rest = size - bulk;
if (bulk) if (bulk)
_dma_memcpy(dest, src, bulk); __dma_memcpy(dest, src, bulk);
addr = _dma_memcpy(dest+bulk, src+bulk, rest); addr = __dma_memcpy(dest+bulk, src+bulk, rest);
return addr; return addr;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment