diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-10-12 20:49:25 +0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-11-11 21:43:25 -0600 |
commit | 87ec0e98cfdd8b68da6a7f9e70142ffc0e404fbb (patch) | |
tree | 7dfce7a635f4cc9053fcc60b525aae24286145c8 /include/linux | |
parent | a35c1710956f7aef06f58d22d343d7b948fbc272 (diff) | |
download | op-kernel-dev-87ec0e98cfdd8b68da6a7f9e70142ffc0e404fbb.zip op-kernel-dev-87ec0e98cfdd8b68da6a7f9e70142ffc0e404fbb.tar.gz |
spi_mpc8xxx: Turn qe_mode into flags
Soon there will be more flags introduced in subsequent patches, so
let's turn qe_mode into flags.
Also introduce mpc8xxx_spi_strmode() and print current SPI mode.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fsl_devices.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 43fc95d..39fd946 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -74,7 +74,7 @@ struct spi_device; struct fsl_spi_platform_data { u32 initial_spmode; /* initial SPMODE value */ s16 bus_num; - bool qe_mode; + unsigned int flags; /* board specific information */ u16 max_chipselect; void (*cs_control)(struct spi_device *spi, bool on); |