mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 20:55:29 +07:00
7cdc39eead
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 <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Vinod Koul <vinod.koul@linux.intel.com> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Dan Williams <djbw@fb.com>
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 */
|