diff options
Diffstat (limited to 'include/asm-sh/dma-mapping.h')
-rw-r--r-- | include/asm-sh/dma-mapping.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/dma-mapping.h b/include/asm-sh/dma-mapping.h index 5956c5d568b7..627315ecdb52 100644 --- a/include/asm-sh/dma-mapping.h +++ b/include/asm-sh/dma-mapping.h | |||
@@ -172,7 +172,7 @@ static inline int dma_get_cache_alignment(void) | |||
172 | return L1_CACHE_BYTES; | 172 | return L1_CACHE_BYTES; |
173 | } | 173 | } |
174 | 174 | ||
175 | static inline int dma_mapping_error(dma_addr_t dma_addr) | 175 | static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) |
176 | { | 176 | { |
177 | return dma_addr == 0; | 177 | return dma_addr == 0; |
178 | } | 178 | } |