]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit493803e04c66ff81161dc0d237f2f0e0deee9bbf
tree95740f9e1beb8901f163c7168b3e2666eb2158c9
parentbde904f307a5760823c6dc8ef7a0f80dc552d1b0
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