GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-at91 / include / mach / atmel-mci.h
blob998cb0c07135649b8b766af6c64e50d82ae8c92f
1 #ifndef __MACH_ATMEL_MCI_H
2 #define __MACH_ATMEL_MCI_H
4 #include <mach/at_hdmac.h>
6 /**
7 * struct mci_dma_data - DMA data for MCI interface
8 */
9 struct mci_dma_data {
10 struct at_dma_slave sdata;
13 /* accessor macros */
14 #define slave_data_ptr(s) (&(s)->sdata)
15 #define find_slave_dev(s) ((s)->sdata.dma_dev)
17 #define setup_dma_addr(s, t, r) do { \
18 if (s) { \
19 (s)->sdata.tx_reg = (t); \
20 (s)->sdata.rx_reg = (r); \
21 } \
22 } while (0)
24 #endif /* __MACH_ATMEL_MCI_H */