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