diff options
Diffstat (limited to 'include/asm-arm/dma-mapping.h')
-rw-r--r-- | include/asm-arm/dma-mapping.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/dma-mapping.h b/include/asm-arm/dma-mapping.h index 943f23bc99a2..45329fca1b64 100644 --- a/include/asm-arm/dma-mapping.h +++ b/include/asm-arm/dma-mapping.h | |||
@@ -58,7 +58,7 @@ static inline int dma_is_consistent(struct device *dev, dma_addr_t handle) | |||
58 | /* | 58 | /* |
59 | * DMA errors are defined by all-bits-set in the DMA address. | 59 | * DMA errors are defined by all-bits-set in the DMA address. |
60 | */ | 60 | */ |
61 | static inline int dma_mapping_error(dma_addr_t dma_addr) | 61 | static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) |
62 | { | 62 | { |
63 | return dma_addr == ~0; | 63 | return dma_addr == ~0; |
64 | } | 64 | } |