diff options
author | Andreas Larsson <andreas@gaisler.com> | 2013-02-15 19:52:24 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2013-04-07 13:07:55 +0400 |
commit | c3f3e7717f1cf01d9117a98ed89decc41d7cb5db (patch) | |
tree | 3bb80cad2273ddaa68edfd0e49be7f3920c79427 /drivers/spi/spi-fsl-lib.h | |
parent | b48c4e3c944e8c52dcb0f477e9d80da045c7cab4 (diff) | |
download | linux-c3f3e7717f1cf01d9117a98ed89decc41d7cb5db.tar.xz |
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 { 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 |