ARM: dmabounce: get rid of dma_needs_bounce global function
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Jul 2011 07:32:21 +0000 (08:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Jul 2011 07:39:55 +0000 (08:39 +0100)
commit0703ed2a6b260cd743adf49a8281eb064d728832
tree95740f9e1beb8901f163c7168b3e2666eb2158c9
parentc289b2e0ccff1142908e20398930dc2e14697e74
ARM: dmabounce: get rid of dma_needs_bounce global function

Pass the device type specific needs_bounce function in at dmabounce
register time, avoiding the need for a platform specific global
function to do this.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/dmabounce.c
arch/arm/common/it8152.c
arch/arm/common/sa1111.c
arch/arm/include/asm/dma-mapping.h
arch/arm/mach-ixp4xx/common-pci.c