diff options
Diffstat (limited to 'arch/arm/include/asm/dma-mapping.h')
-rw-r--r-- | arch/arm/include/asm/dma-mapping.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h index 69ce0727edb5..b5ccc6a993d5 100644 --- a/arch/arm/include/asm/dma-mapping.h +++ b/arch/arm/include/asm/dma-mapping.h | |||
@@ -298,7 +298,15 @@ extern void dmabounce_unregister_dev(struct device *); | |||
298 | * DMA access and 1 if the buffer needs to be bounced. | 298 | * DMA access and 1 if the buffer needs to be bounced. |
299 | * | 299 | * |
300 | */ | 300 | */ |
301 | #ifdef CONFIG_SA1111 | ||
301 | extern int dma_needs_bounce(struct device*, dma_addr_t, size_t); | 302 | extern int dma_needs_bounce(struct device*, dma_addr_t, size_t); |
303 | #else | ||
304 | static inline int dma_needs_bounce(struct device *dev, dma_addr_t addr, | ||
305 | size_t size) | ||
306 | { | ||
307 | return 0; | ||
308 | } | ||
309 | #endif | ||
302 | 310 | ||
303 | /* | 311 | /* |
304 | * The DMA API, implemented by dmabounce.c. See below for descriptions. | 312 | * The DMA API, implemented by dmabounce.c. See below for descriptions. |