1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12 #ifndef __ASM_SPI_H__ 13 #define __ASM_SPI_H__ 14 15 struct sh_spi_info; 16 17 struct sh_spi_info { 18 int bus_num; 19 int num_chipselect; 20 21 void (*chip_select)(struct sh_spi_info *spi, int cs, int state); 22 }; 23 24 #endif 25