From: Sonic Zhang Date: Thu, 21 Jun 2007 03:34:16 +0000 (+0800) Subject: Blackfin arch: Add definition of dma_mapping_error X-Git-Tag: v2.6.22-rc6~37^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=334280fff3f7201d0fd564fe85e0a6f035ce3f68;p=linux-2.6-omap-h63xx.git Blackfin arch: Add definition of dma_mapping_error Signed-off-by: Sonic Zhang Signed-off-by: Bryan Wu --- diff --git a/include/asm-blackfin/dma-mapping.h b/include/asm-blackfin/dma-mapping.h index 7a77d7fe3a3..282fabccf6a 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, #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) +#define dma_mapping_error + /* * Map a single buffer of the indicated size for DMA in streaming mode. * The 32-bit bus address to use is returned.