aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/dma-mapping.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h
index 856ee1bdee57..29404f71ab87 100644
--- a/arch/arm/include/asm/dma-mapping.h
+++ b/arch/arm/include/asm/dma-mapping.h
@@ -410,6 +410,17 @@ extern void dmabounce_unregister_dev(struct device *);
410 * 410 *
411 */ 411 */
412extern int dma_needs_bounce(struct device*, dma_addr_t, size_t); 412extern int dma_needs_bounce(struct device*, dma_addr_t, size_t);
413
414/*
415 * Private functions
416 */
417int dmabounce_sync_for_cpu(struct device *, dma_addr_t, unsigned long,
418 size_t, enum dma_data_direction);
419int dmabounce_sync_for_device(struct device *, dma_addr_t, unsigned long,
420 size_t, enum dma_data_direction);
421#else
422#define dmabounce_sync_for_cpu(dev,dma,off,sz,dir) (1)
423#define dmabounce_sync_for_device(dev,dma,off,sz,dir) (1)
413#endif /* CONFIG_DMABOUNCE */ 424#endif /* CONFIG_DMABOUNCE */
414 425
415#endif /* __KERNEL__ */ 426#endif /* __KERNEL__ */