diff options
author | Franck Jullien <franck.jullien@gmail.com> | 2011-07-06 00:14:48 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-07-06 10:25:39 +0200 |
commit | 4c35079c1cc05159f31042686dd74e390fd55986 (patch) | |
tree | 24505e639c4e9c81892a918aaea8701f64416321 /include/spi | |
parent | e6c03f01bf7da74f4d846efb3e014f053ace92bd (diff) | |
download | barebox-4c35079c1cc05159f31042686dd74e390fd55986.tar.gz barebox-4c35079c1cc05159f31042686dd74e390fd55986.tar.xz |
spi: add bits_per_word to proxy structure
During the creation of a new spi device, we need to
have the possiblility to give the bits_per_word value
to master->setup.
As a matter of fact, spi master could check the spi
device bits_per_word and compare this value against its
capabilities.
Signed-off-by: Franck Jullien <franck.jullien@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/spi')
-rw-r--r-- | include/spi/spi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spi/spi.h b/include/spi/spi.h index ac2013ad51..948e0501cd 100644 --- a/include/spi/spi.h +++ b/include/spi/spi.h @@ -15,6 +15,7 @@ struct spi_board_info { * where the default of SPI_CS_HIGH = 0 is wrong. */ u8 mode; + u8 bits_per_word; void *platform_data; }; |