xref: /linux/arch/sh/include/asm/spi.h (revision e2be04c7f9958dde770eeb8b30e829ca969b37bb)
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