Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: xilinx: Massage xilinx_spi.h

Merge series from Andy Shevchenko <andriy.shevchenko@linux.intel.com>:

Fix kernel documentation and inclusion block, and dropping the size
of the num_chipselect.

+9 -5
+9 -5
include/linux/spi/xilinx_spi.h
··· 2 2 #ifndef __LINUX_SPI_XILINX_SPI_H 3 3 #define __LINUX_SPI_XILINX_SPI_H 4 4 5 + #include <linux/types.h> 6 + 7 + struct spi_board_info; 8 + 5 9 /** 6 10 * struct xspi_platform_data - Platform data of the Xilinx SPI driver 7 - * @num_chipselect: Number of chip select by the IP. 8 - * @little_endian: If registers should be accessed little endian or not. 9 - * @bits_per_word: Number of bits per word. 10 11 * @devices: Devices to add when the driver is probed. 11 12 * @num_devices: Number of devices in the devices array. 13 + * @num_chipselect: Number of chip select by the IP. 14 + * @bits_per_word: Number of bits per word. 15 + * @force_irq: If set, forces QSPI transaction requirements. 12 16 */ 13 17 struct xspi_platform_data { 14 - u16 num_chipselect; 15 - u8 bits_per_word; 16 18 struct spi_board_info *devices; 17 19 u8 num_devices; 20 + u8 num_chipselect; 21 + u8 bits_per_word; 18 22 bool force_irq; 19 23 }; 20 24