diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-06-19 18:56:59 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-07-02 14:54:47 +0200 |
commit | 76c33d27073e29bd98d1c975265e1cbe0889fc53 (patch) | |
tree | 8d486cb3cafb84539afdbc220d6dc932d98d895b /arch/m68k | |
parent | Linux 4.18-rc1 (diff) | |
download | linux-76c33d27073e29bd98d1c975265e1cbe0889fc53.tar.xz linux-76c33d27073e29bd98d1c975265e1cbe0889fc53.zip |
dmaengine: imx-sdma: factor out a struct sdma_desc from struct sdma_channel
This is a preparation step to make the adding of virt-dma easier.
We create a struct sdma_desc, move some fields from struct sdma_channel
there and add a pointer from the former to the latter. For now we
allocate the data statically in struct sdma_channel, but with
virt-dma support it will be dynamically allocated.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions