Merge branch 'drm-nouveau-fixes' of git://git.freedesktop.org/git/nouveau/linux-2...
[cascardo/linux.git] / arch / avr32 / mach-at32ap / include / mach / atmel-mci.h
1 #ifndef __MACH_ATMEL_MCI_H
2 #define __MACH_ATMEL_MCI_H
3
4 #include <linux/dw_dmac.h>
5
6 /**
7  * struct mci_dma_data - DMA data for MCI interface
8  */
9 struct mci_dma_data {
10         struct dw_dma_slave     sdata;
11 };
12
13 /* accessor macros */
14 #define slave_data_ptr(s)       (&(s)->sdata)
15 #define find_slave_dev(s)       ((s)->sdata.dma_dev)
16
17 #endif /* __MACH_ATMEL_MCI_H */