diff options
author | Padmavathi Venna <padma.v@samsung.com> | 2013-01-18 17:17:02 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-29 14:28:51 +0800 |
commit | e7ba5f1d0f6292e1b99c63cc4bb74c70232e9065 (patch) | |
tree | 344c79ff4f94d56b537e066fd0c1b4defa6fdd0a /arch/arm/plat-samsung/include/plat/dma-ops.h | |
parent | 40476f61897933d524b7069a6df65629a469d922 (diff) | |
download | talos-op-linux-e7ba5f1d0f6292e1b99c63cc4bb74c70232e9065.tar.gz talos-op-linux-e7ba5f1d0f6292e1b99c63cc4bb74c70232e9065.zip |
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/include/plat/dma-ops.h')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/dma-ops.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/include/plat/dma-ops.h b/arch/arm/plat-samsung/include/plat/dma-ops.h index f5144cdd3001..114178268b75 100644 --- a/arch/arm/plat-samsung/include/plat/dma-ops.h +++ b/arch/arm/plat-samsung/include/plat/dma-ops.h @@ -39,7 +39,8 @@ struct samsung_dma_config { }; struct samsung_dma_ops { - unsigned (*request)(enum dma_ch ch, struct samsung_dma_req *param); + unsigned (*request)(enum dma_ch ch, struct samsung_dma_req *param, + struct device *dev, char *ch_name); int (*release)(unsigned ch, void *param); int (*config)(unsigned ch, struct samsung_dma_config *param); int (*prepare)(unsigned ch, struct samsung_dma_prep *param); |