diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-03-09 15:48:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-09 19:11:13 +0100 |
commit | d744f82683e8cc8b49ca8f329a289c6692a9fb06 (patch) | |
tree | e572760543ea9756378411f98f9fdf00e0a047c0 /drivers/spi/spi-dw.h | |
parent | spi: dw-mid: move to use core SPI DMA mappings (diff) | |
download | linux-d744f82683e8cc8b49ca8f329a289c6692a9fb06.tar.xz linux-d744f82683e8cc8b49ca8f329a289c6692a9fb06.zip |
spi: dw-mid: convert to use dw_dmac instead of intel_mid_dma
intel_mid_dma seems to be unmaintained for a long time. Moreover, the IP block
of DMA itself is the same in both dw_dmac and intel_mid_dma. This patch moves
spi-dw-midpci to use dw_dmac driver.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.h')
-rw-r--r-- | drivers/spi/spi-dw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h index f298df59381b..41f77e2ccf63 100644 --- a/drivers/spi/spi-dw.h +++ b/drivers/spi/spi-dw.h @@ -128,10 +128,10 @@ struct dw_spi { struct dma_chan *txchan; struct dma_chan *rxchan; unsigned long dma_chan_busy; - struct device *dma_dev; dma_addr_t dma_addr; /* phy address of the Data register */ struct dw_spi_dma_ops *dma_ops; - void *dma_priv; /* platform relate info */ + void *dma_tx; + void *dma_rx; /* Bus interface info */ void *priv; |