diff options
author | Padmavathi Venna <padma.v@samsung.com> | 2013-01-18 15:47:02 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-29 10:28:51 +0400 |
commit | e7ba5f1d0f6292e1b99c63cc4bb74c70232e9065 (patch) | |
tree | 344c79ff4f94d56b537e066fd0c1b4defa6fdd0a /arch/arm/plat-samsung/s3c-dma-ops.c | |
parent | 40476f61897933d524b7069a6df65629a469d922 (diff) | |
download | linux-e7ba5f1d0f6292e1b99c63cc4bb74c70232e9065.tar.xz |
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.c | 3 |
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 f99448c48d30..0cc40aea3f5a 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; |