diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/xilinx_spi.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/spi/xilinx_spi.h b/include/linux/spi/xilinx_spi.h index a705ad85eebe..6f17278810b0 100644 --- a/include/linux/spi/xilinx_spi.h +++ b/include/linux/spi/xilinx_spi.h | |||
@@ -3,14 +3,16 @@ | |||
3 | 3 | ||
4 | /** | 4 | /** |
5 | * struct xspi_platform_data - Platform data of the Xilinx SPI driver | 5 | * struct xspi_platform_data - Platform data of the Xilinx SPI driver |
6 | * @num_chipselect: Number of chip select by the IP | 6 | * @num_chipselect: Number of chip select by the IP. |
7 | * @little_endian If registers should be accessed little endian or not | 7 | * @little_endian: If registers should be accessed little endian or not. |
8 | * @bits_per_word: Number of bits per word. | ||
8 | * @devices: Devices to add when the driver is probed. | 9 | * @devices: Devices to add when the driver is probed. |
9 | * @num_devices: Number of devices in the devices array. | 10 | * @num_devices: Number of devices in the devices array. |
10 | */ | 11 | */ |
11 | struct xspi_platform_data { | 12 | struct xspi_platform_data { |
12 | u16 num_chipselect; | 13 | u16 num_chipselect; |
13 | bool little_endian; | 14 | bool little_endian; |
15 | u8 bits_per_word; | ||
14 | struct spi_board_info *devices; | 16 | struct spi_board_info *devices; |
15 | u8 num_devices; | 17 | u8 num_devices; |
16 | }; | 18 | }; |