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