diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-03-31 18:24:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 11:59:22 -0400 |
commit | 35b4b3c0c1265f1a7342574be393c157601401f0 (patch) | |
tree | ca12b33dbe911f1ba02cff197fcfb5928ab5763b /include | |
parent | 364fdbc00fbdd409ade63500710123fe323aa164 (diff) |
spi_mpc83xx: add OF platform driver bindings
Implement full support for OF SPI bindings. Now the driver can manage its
own chip selects without any help from the board files and/or fsl_soc
constructors.
The "legacy" code is well isolated and could be removed as time goes by.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-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 7bc1b643d370..7ef1caf50269 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h | |||
@@ -99,7 +99,7 @@ struct spi_device; | |||
99 | 99 | ||
100 | struct fsl_spi_platform_data { | 100 | struct fsl_spi_platform_data { |
101 | u32 initial_spmode; /* initial SPMODE value */ | 101 | u32 initial_spmode; /* initial SPMODE value */ |
102 | u16 bus_num; | 102 | s16 bus_num; |
103 | bool qe_mode; | 103 | bool qe_mode; |
104 | /* board specific information */ | 104 | /* board specific information */ |
105 | u16 max_chipselect; | 105 | u16 max_chipselect; |