OpenCloudOS-Kernel/arch/sh/include/asm/spi.h

15 lines
265 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SPI_H__
#define __ASM_SPI_H__
struct sh_spi_info;
struct sh_spi_info {
int bus_num;
int num_chipselect;
void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
};
#endif /* __ASM_SPI_H__ */