summaryrefslogtreecommitdiffstats
path: root/include/linux/shdma-base.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-07-05 12:29:40 +0200
committerVinod Koul <vinod.koul@linux.intel.com>2012-07-20 11:23:44 +0530
commitecf90fbbdc66cde6f5fa25d88541112b9baac459 (patch)
treee2998d0c217b07816dec6b22e03885c9fb4731bd /include/linux/shdma-base.h
parent1e7f07b5390b4bbf82fe017fcb46682dcf4ab1d0 (diff)
downloadop-kernel-dev-ecf90fbbdc66cde6f5fa25d88541112b9baac459.zip
op-kernel-dev-ecf90fbbdc66cde6f5fa25d88541112b9baac459.tar.gz
dmaengine: shdma: prepare to stop using struct dma_chan::private
Using struct dma_chan::private is deprecated. To update the shdma driver to stop using it we first have to eliminate internal runtime uses of it. After that we will also be able to stop using it for channel configuration. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'include/linux/shdma-base.h')
-rw-r--r--include/linux/shdma-base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/shdma-base.h b/include/linux/shdma-base.h
index 83efd13..c3a19e9 100644
--- a/include/linux/shdma-base.h
+++ b/include/linux/shdma-base.h
@@ -66,6 +66,7 @@ struct shdma_chan {
size_t max_xfer_len; /* max transfer length */
int id; /* Raw id of this channel */
int irq; /* Channel IRQ */
+ struct shdma_slave *slave; /* Client data for slave DMA */
enum shdma_pm_state pm_state;
};
OpenPOWER on IntegriCloud