summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-10-12 18:49:25 +0200
committerKumar Gala <galak@kernel.crashing.org>2009-11-12 04:43:25 +0100
commit87ec0e98cfdd8b68da6a7f9e70142ffc0e404fbb (patch)
tree7dfce7a635f4cc9053fcc60b525aae24286145c8 /include
parentspi_mpc8xxx: Factor out SPI mode change steps into a call (diff)
downloadlinux-87ec0e98cfdd8b68da6a7f9e70142ffc0e404fbb.tar.xz
linux-87ec0e98cfdd8b68da6a7f9e70142ffc0e404fbb.zip
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')
-rw-r--r--include/linux/fsl_devices.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 43fc95d822d5..39fd94681e74 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);