summaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap/include
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-02-01 16:12:27 +0530
committerVinod Koul <vinod.koul@linux.intel.com>2012-02-22 18:15:39 +0530
commite2b35f3dbfc080f15b72834d08f04f0269dbe9be (patch)
treefda60f8be147b57cf01155528dda33a9a99b0dab /arch/avr32/mach-at32ap/include
parent327e6970258618da810f72e86cf2a8b803927e14 (diff)
downloadlinux-e2b35f3dbfc080f15b72834d08f04f0269dbe9be.tar.gz
linux-e2b35f3dbfc080f15b72834d08f04f0269dbe9be.tar.xz
dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes
There are few existing user drivers of dw_dmac. They will break as soon as we remove unused fields from struct dw_dma_slave. This patch focuses to fix these user drivers to use dma_slave_config() routine. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/include')
-rw-r--r--arch/avr32/mach-at32ap/include/mach/atmel-mci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/atmel-mci.h b/arch/avr32/mach-at32ap/include/mach/atmel-mci.h
index a9b38967f703..4bba58561d5c 100644
--- a/arch/avr32/mach-at32ap/include/mach/atmel-mci.h
+++ b/arch/avr32/mach-at32ap/include/mach/atmel-mci.h
@@ -14,11 +14,4 @@ struct mci_dma_data {
#define slave_data_ptr(s) (&(s)->sdata)
#define find_slave_dev(s) ((s)->sdata.dma_dev)
-#define setup_dma_addr(s, t, r) do { \
- if (s) { \
- (s)->sdata.tx_reg = (t); \
- (s)->sdata.rx_reg = (r); \
- } \
-} while (0)
-
#endif /* __MACH_ATMEL_MCI_H */