diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-01-10 09:53:05 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-12 14:07:23 +0100 |
commit | 23d5f4ec9de43dbc73a42f1483d9339b907c3dff (patch) | |
tree | fa19bbfd959291a624433b6f328017160b1dc0d9 /drivers/dma/dw_dmac_regs.h | |
parent | dw_dmac: make usage of dw_dma_slave optional (diff) | |
download | linux-23d5f4ec9de43dbc73a42f1483d9339b907c3dff.tar.xz linux-23d5f4ec9de43dbc73a42f1483d9339b907c3dff.zip |
dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous
The same information could be extracted from the struct dma_chan.
The patch introduces helper function dwc_get_data_width() as well.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
-rw-r--r-- | drivers/dma/dw_dmac_regs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h index f9532c29b808..577f2dd35882 100644 --- a/drivers/dma/dw_dmac_regs.h +++ b/drivers/dma/dw_dmac_regs.h @@ -214,9 +214,6 @@ struct dw_dma_chan { /* configuration passed via DMA_SLAVE_CONFIG */ struct dma_slave_config dma_sconfig; - - /* backlink to dw_dma */ - struct dw_dma *dw; }; static inline struct dw_dma_chan_regs __iomem * |