dmaengine: shdma: convert to platform device resources
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 11 Feb 2010 16:50:10 +0000 (16:50 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 2 Mar 2010 02:09:02 +0000 (11:09 +0900)
commit027811b9b81a6b3ae5aa20c3302897bee9dcf09e
treecde9b764d10d7ba9d0a41d9c780bf9032214dcae
parent47a4dc26eeb89a3746f9b1e2092602b40469640a
dmaengine: shdma: convert to platform device resources

The shdma dmaengine driver currently uses numerous macros to support various
platforms, selected by ifdef's. Convert it to use platform device resources and
lists of channel descriptors to specify register locations, interrupt numbers
and other system-specific configuration variants. Unavoidably, we have to
simultaneously convert all shdma users to provide those resources.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/dma-sh.h
arch/sh/kernel/cpu/sh4a/setup-sh7722.c
arch/sh/kernel/cpu/sh4a/setup-sh7724.c
arch/sh/kernel/cpu/sh4a/setup-sh7780.c
arch/sh/kernel/cpu/sh4a/setup-sh7785.c
drivers/dma/shdma.c
drivers/dma/shdma.h