summaryrefslogtreecommitdiff
path: root/include/linux/atmel-mci.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2016-01-09 15:45:11 +0300
committerHans-Christian Egtvedt <egtvedt@samfundet.no>2016-01-14 15:40:30 +0300
commit238d1c6041ebcb5ce7c075b696f6cc9962991e94 (patch)
treea61281ea931a972e71aa80bc9cc9d09c4b480d16 /include/linux/atmel-mci.h
parent74843787158e9dff249f0528e7d4806102cc2c26 (diff)
downloadlinux-238d1c6041ebcb5ce7c075b696f6cc9962991e94.tar.xz
mmc: atmel: get rid of struct mci_dma_data
As struct mci_dma_data is now only used by AVR32, it is nothing but pointless indirection. Replace it with struct dw_dma_slave in the AVR32 platform code and with a void pointer elsewhere. Signed-off-by: Mans Rullgard <mans@mansr.com> Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/atmel-mci.h')
-rw-r--r--include/linux/atmel-mci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/atmel-mci.h b/include/linux/atmel-mci.h
index e753062b9355..42a9e1884842 100644
--- a/include/linux/atmel-mci.h
+++ b/include/linux/atmel-mci.h
@@ -37,7 +37,7 @@ struct mci_slot_pdata {
* @slot: Per-slot configuration data.
*/
struct mci_platform_data {
- struct mci_dma_data *dma_slave;
+ void *dma_slave;
dma_filter_fn dma_filter;
struct mci_slot_pdata slot[ATMCI_MAX_NR_SLOTS];
};