aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-25 16:38:41 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-29 05:40:16 -0400
commit2638b4dbe768aba023a06acd8e7eba708bb76ee6 (patch)
tree41e464b337ec85444d8c551947de13bb8731af70 /arch/arm/include
parent01135d92c1a540cd3370f7cf3d1c762320b85034 (diff)
[ARM] dma: Reduce to one dma_sync_sg_* implementation
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-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__ */