spi/spi-fsl-spi: Introduce a type for the driver
For being able to distinguishing between the regular type of cores and others with different entries in of_fsl_spi_match. Acked-by: Anton Vorontsov <anton@enomsg.org> Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
committed by
Grant Likely
parent
b48c4e3c94
commit
c3f3e7717f
@ -70,6 +70,8 @@ struct mpc8xxx_spi {
|
||||
unsigned int flags;
|
||||
|
||||
#ifdef CONFIG_SPI_FSL_SPI
|
||||
int type;
|
||||
|
||||
void (*set_shifts)(u32 *rx_shift, u32 *tx_shift,
|
||||
int bits_per_word, int msb_first);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user