diff options
Diffstat (limited to 'include/linux/fsl_devices.h')
| -rw-r--r-- | include/linux/fsl_devices.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index d9051d717d2..7ef1caf5026 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h | |||
| @@ -95,14 +95,15 @@ struct fsl_usb2_platform_data { | |||
| 95 | #define FSL_USB2_PORT0_ENABLED 0x00000001 | 95 | #define FSL_USB2_PORT0_ENABLED 0x00000001 |
| 96 | #define FSL_USB2_PORT1_ENABLED 0x00000002 | 96 | #define FSL_USB2_PORT1_ENABLED 0x00000002 |
| 97 | 97 | ||
| 98 | struct spi_device; | ||
| 99 | |||
| 98 | struct fsl_spi_platform_data { | 100 | struct fsl_spi_platform_data { |
| 99 | u32 initial_spmode; /* initial SPMODE value */ | 101 | u32 initial_spmode; /* initial SPMODE value */ |
| 100 | u16 bus_num; | 102 | s16 bus_num; |
| 101 | bool qe_mode; | 103 | bool qe_mode; |
| 102 | /* board specific information */ | 104 | /* board specific information */ |
| 103 | u16 max_chipselect; | 105 | u16 max_chipselect; |
| 104 | void (*activate_cs)(u8 cs, u8 polarity); | 106 | void (*cs_control)(struct spi_device *spi, bool on); |
| 105 | void (*deactivate_cs)(u8 cs, u8 polarity); | ||
| 106 | u32 sysclk; | 107 | u32 sysclk; |
| 107 | }; | 108 | }; |
| 108 | 109 | ||
