mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the at91 include directories Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Acked-by: Vinod Koul <[email protected]> Cc: Jean-Christophe Plagniol-Villard <[email protected]> Cc: Dan Williams <[email protected]>
23 lines
464 B
C
23 lines
464 B
C
#ifndef __LINUX_ATMEL_AES_H
|
|
#define __LINUX_ATMEL_AES_H
|
|
|
|
#include <linux/platform_data/dma-atmel.h>
|
|
|
|
/**
|
|
* struct aes_dma_data - DMA data for AES
|
|
*/
|
|
struct aes_dma_data {
|
|
struct at_dma_slave txdata;
|
|
struct at_dma_slave rxdata;
|
|
};
|
|
|
|
/**
|
|
* struct aes_platform_data - board-specific AES configuration
|
|
* @dma_slave: DMA slave interface to use in data transfers.
|
|
*/
|
|
struct aes_platform_data {
|
|
struct aes_dma_data *dma_slave;
|
|
};
|
|
|
|
#endif /* __LINUX_ATMEL_AES_H */
|