spi.h 265 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_SPI_H__
  3. #define __ASM_SPI_H__
  4. struct sh_spi_info;
  5. struct sh_spi_info {
  6. int bus_num;
  7. int num_chipselect;
  8. void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
  9. };
  10. #endif /* __ASM_SPI_H__ */