dmaengine: PL08x: get src/dst addr direct from dma_slave_config struct
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 16 May 2012 10:02:40 +0000 (11:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:42 +0000 (14:15 +0100)
commited91c13d29d1542fddbb053015d62781faca93e1
tree366b3ed2b91ac1a791221818a8878231e8fd3f02
parent550ec36f507177470a394c4dfffcaf986ca25818
dmaengine: PL08x: get src/dst addr direct from dma_slave_config struct

Add a dma_slave_config struct to struct pl08x_dma_chan, and move the
src_addr/dst_addr arguments into this struct.  This is a step away
from using the dma_slave_config's direction member.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/dma/amba-pl08x.c