diff options
author | Andreas Larsson <andreas@gaisler.com> | 2013-02-15 10:52:24 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-04-07 05:07:55 -0400 |
commit | c3f3e7717f1cf01d9117a98ed89decc41d7cb5db (patch) | |
tree | 3bb80cad2273ddaa68edfd0e49be7f3920c79427 /drivers/spi/spi-fsl-lib.h | |
parent | b48c4e3c944e8c52dcb0f477e9d80da045c7cab4 (diff) |
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>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.h')
-rw-r--r-- | drivers/spi/spi-fsl-lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/spi-fsl-lib.h b/drivers/spi/spi-fsl-lib.h index eae54b666907..5a9c36c7cb68 100644 --- a/drivers/spi/spi-fsl-lib.h +++ b/drivers/spi/spi-fsl-lib.h | |||
@@ -70,6 +70,8 @@ struct mpc8xxx_spi { | |||
70 | unsigned int flags; | 70 | unsigned int flags; |
71 | 71 | ||
72 | #ifdef CONFIG_SPI_FSL_SPI | 72 | #ifdef CONFIG_SPI_FSL_SPI |
73 | int type; | ||
74 | |||
73 | void (*set_shifts)(u32 *rx_shift, u32 *tx_shift, | 75 | void (*set_shifts)(u32 *rx_shift, u32 *tx_shift, |
74 | int bits_per_word, int msb_first); | 76 | int bits_per_word, int msb_first); |
75 | #endif | 77 | #endif |