xref: /linux/arch/sh/include/asm/spi.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SPI_H__
3 #define __ASM_SPI_H__
4 
5 struct sh_spi_info;
6 
7 struct sh_spi_info {
8 	int			 bus_num;
9 	int			 num_chipselect;
10 
11 	void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
12 };
13 
14 #endif /* __ASM_SPI_H__ */
15