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