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>
		
	
			
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			355 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			355 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef __MACH_ATMEL_MCI_H
 | 
						|
#define __MACH_ATMEL_MCI_H
 | 
						|
 | 
						|
#include <linux/platform_data/dma-atmel.h>
 | 
						|
 | 
						|
/**
 | 
						|
 * struct mci_dma_data - DMA data for MCI interface
 | 
						|
 */
 | 
						|
struct mci_dma_data {
 | 
						|
	struct at_dma_slave	sdata;
 | 
						|
};
 | 
						|
 | 
						|
/* accessor macros */
 | 
						|
#define	slave_data_ptr(s)	(&(s)->sdata)
 | 
						|
#define find_slave_dev(s)	((s)->sdata.dma_dev)
 | 
						|
 | 
						|
#endif /* __MACH_ATMEL_MCI_H */
 |