From 0ba6732526b3c2aec61daf99b3bb0816104ea474 Mon Sep 17 00:00:00 2001 From: Haavard Skinnemoen Date: Thu, 1 Feb 2007 16:26:03 +0100 Subject: [PATCH] --- yaml --- r: 47018 b: refs/heads/master c: 6eb484fe92e2f67f888dc87e97bfd938c0f7404e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-avr32/dma-mapping.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c83009e47906..2274520fa15c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 212868d387d0033b7e0029326a900126fe5e3d52 +refs/heads/master: 6eb484fe92e2f67f888dc87e97bfd938c0f7404e diff --git a/trunk/include/asm-avr32/dma-mapping.h b/trunk/include/asm-avr32/dma-mapping.h index 5c01e27f0b41..115813e48fe0 100644 --- a/trunk/include/asm-avr32/dma-mapping.h +++ b/trunk/include/asm-avr32/dma-mapping.h @@ -32,6 +32,14 @@ static inline int dma_set_mask(struct device *dev, u64 dma_mask) return 0; } +/* + * dma_map_single can't fail as it is implemented now. + */ +static inline int dma_mapping_error(dma_addr_t addr) +{ + return 0; +} + /** * dma_alloc_coherent - allocate consistent memory for DMA * @dev: valid struct device pointer, or NULL for ISA and EISA-like devices