]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/platform_data/spi-ep93xx.h
net/mlx5e: Rx, Fix checksum calculation for new hardware
[mirror_ubuntu-bionic-kernel.git] / include / linux / platform_data / spi-ep93xx.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_MACH_EP93XX_SPI_H
3 #define __ASM_MACH_EP93XX_SPI_H
4
5 struct spi_device;
6
7 /**
8 * struct ep93xx_spi_info - EP93xx specific SPI descriptor
9 * @chipselect: array of gpio numbers to use as chip selects
10 * @num_chipselect: ARRAY_SIZE(chipselect)
11 * @use_dma: use DMA for the transfers
12 */
13 struct ep93xx_spi_info {
14 int *chipselect;
15 int num_chipselect;
16 bool use_dma;
17 };
18
19 #endif /* __ASM_MACH_EP93XX_SPI_H */