summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/include/mach/atmel-mci.h
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2012-04-16 13:20:53 +0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-11-16 14:52:36 +0400
commitf7c9f47239e9bc2fdf30f51cf46249aeb79980d3 (patch)
tree78adc257ab64f55ac4b4a75ce283cc3df4649e48 /arch/arm/mach-at91/include/mach/atmel-mci.h
parent77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff)
downloadlinux-f7c9f47239e9bc2fdf30f51cf46249aeb79980d3.tar.xz
ARM: at91/atmel-mci: remove unused setup_dma_addr() macro
This macro is not used anymove in atmel-mci driver. It has been removed by a patch that was dealing with dw_dmac.c e2b35f3: (dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes) We are now using the dmaengine API to specify the slave DMA parameters: dmaengine_slave_config(). Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Cc: Chris Ball <cjb@laptop.org> Cc: <linux-mmc@vger.kernel.org>
Diffstat (limited to 'arch/arm/mach-at91/include/mach/atmel-mci.h')
-rw-r--r--arch/arm/mach-at91/include/mach/atmel-mci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/include/mach/atmel-mci.h b/arch/arm/mach-at91/include/mach/atmel-mci.h
index cd580a12e904..3069e4135573 100644
--- a/arch/arm/mach-at91/include/mach/atmel-mci.h
+++ b/arch/arm/mach-at91/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 */