aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/dma-mapping.h
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2007-06-20 23:34:16 -0400
committerBryan Wu <bryan.wu@analog.com>2007-06-20 23:34:16 -0400
commit334280fff3f7201d0fd564fe85e0a6f035ce3f68 (patch)
treec49ee014013098b5836f5a6926d2512e1d9e96ca /include/asm-blackfin/dma-mapping.h
parentb9b712765738d141154b435a5bfec4adbbee25f3 (diff)
Blackfin arch: Add definition of dma_mapping_error
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/dma-mapping.h')
-rw-r--r--include/asm-blackfin/dma-mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-blackfin/dma-mapping.h b/include/asm-blackfin/dma-mapping.h
index 7a77d7fe3a33..282fabccf6a6 100644
--- a/include/asm-blackfin/dma-mapping.h
+++ b/include/asm-blackfin/dma-mapping.h
@@ -15,6 +15,8 @@ void dma_free_coherent(struct device *dev, size_t size, void *vaddr,
15#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) 15#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)
16#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) 16#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
17 17
18#define dma_mapping_error
19
18/* 20/*
19 * Map a single buffer of the indicated size for DMA in streaming mode. 21 * Map a single buffer of the indicated size for DMA in streaming mode.
20 * The 32-bit bus address to use is returned. 22 * The 32-bit bus address to use is returned.