summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/s3c-dma-ops.c
diff options
context:
space:
mode:
authorPadmavathi Venna <padma.v@samsung.com>2013-01-18 17:17:02 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-29 14:28:51 +0800
commite7ba5f1d0f6292e1b99c63cc4bb74c70232e9065 (patch)
tree344c79ff4f94d56b537e066fd0c1b4defa6fdd0a /arch/arm/plat-samsung/s3c-dma-ops.c
parent40476f61897933d524b7069a6df65629a469d922 (diff)
ARM: SAMSUNG: Make dma request compatible to generic dma bindings.
This patch make the dma dev request operation compatible for both DT and non-DT cases. It takes the all the arguments required for dma_request_slave_channel and dma_request_channel. If the driver is initiated via DT or non-DT the corresponding call will be made. Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/plat-samsung/s3c-dma-ops.c')
-rw-r--r--arch/arm/plat-samsung/s3c-dma-ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/s3c-dma-ops.c b/arch/arm/plat-samsung/s3c-dma-ops.c
index f99448c48d3..0cc40aea3f5 100644
--- a/arch/arm/plat-samsung/s3c-dma-ops.c
+++ b/arch/arm/plat-samsung/s3c-dma-ops.c
@@ -36,7 +36,8 @@ static void s3c_dma_cb(struct s3c2410_dma_chan *channel, void *param,
}
static unsigned s3c_dma_request(enum dma_ch dma_ch,
- struct samsung_dma_req *param)
+ struct samsung_dma_req *param,
+ struct device *dev, char *ch_name)
{
struct cb_data *data;