ARM: omap: move dma channel allocation into plat-omap code
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Nov 2013 18:10:42 +0000 (18:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Apr 2014 23:31:46 +0000 (00:31 +0100)
commit9834f81314b2a5b1bb3cd0d8f46e61528b60d580
tree6fb62c450a3a6587b312d2f0542b4fe25af7767d
parent0ef64986d69602ba8df933c62d0b6d6edfaf0557
ARM: omap: move dma channel allocation into plat-omap code

This really needs to be there, because otherwise the plat-omap code can
kfree() this data structure, and then re-use the pointer later.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap1/dma.c
arch/arm/mach-omap2/dma.c
arch/arm/plat-omap/dma.c
include/linux/omap-dma.h