aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/sh/shdma.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-07-05 06:29:40 -0400
committerVinod Koul <vinod.koul@linux.intel.com>2012-07-20 01:53:44 -0400
commitecf90fbbdc66cde6f5fa25d88541112b9baac459 (patch)
treee2998d0c217b07816dec6b22e03885c9fb4731bd /drivers/dma/sh/shdma.h
parent1e7f07b5390b4bbf82fe017fcb46682dcf4ab1d0 (diff)
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 'drivers/dma/sh/shdma.h')
-rw-r--r--drivers/dma/sh/shdma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/sh/shdma.h b/drivers/dma/sh/shdma.h
index 840e47d1c86c..9314e93225db 100644
--- a/drivers/dma/sh/shdma.h
+++ b/drivers/dma/sh/shdma.h
@@ -13,6 +13,7 @@
13#ifndef __DMA_SHDMA_H 13#ifndef __DMA_SHDMA_H
14#define __DMA_SHDMA_H 14#define __DMA_SHDMA_H
15 15
16#include <linux/sh_dma.h>
16#include <linux/shdma-base.h> 17#include <linux/shdma-base.h>
17#include <linux/dmaengine.h> 18#include <linux/dmaengine.h>
18#include <linux/interrupt.h> 19#include <linux/interrupt.h>
@@ -25,6 +26,7 @@ struct device;
25 26
26struct sh_dmae_chan { 27struct sh_dmae_chan {
27 struct shdma_chan shdma_chan; 28 struct shdma_chan shdma_chan;
29 const struct sh_dmae_slave_config *config; /* Slave DMA configuration */
28 int xmit_shift; /* log_2(bytes_per_xfer) */ 30 int xmit_shift; /* log_2(bytes_per_xfer) */
29 u32 __iomem *base; 31 u32 __iomem *base;
30 char dev_id[16]; /* unique name per DMAC of channel */ 32 char dev_id[16]; /* unique name per DMAC of channel */