mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
spi: spi-bitbang: change flags from u8 to u16
This changes the data type of the flags field in struct spi_bitbang from u8 to u16. This matches the size of the mode field of struct spi_device where these flags are also used. This is done in preparation of adding a new SPI mode flag that will be used with this field that would otherwise not fit in 8 bits. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b86d77123c
commit
7c201ead1b
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ struct spi_bitbang {
|
||||||
struct mutex lock;
|
struct mutex lock;
|
||||||
u8 busy;
|
u8 busy;
|
||||||
u8 use_dma;
|
u8 use_dma;
|
||||||
u8 flags; /* extra spi->mode support */
|
u16 flags; /* extra spi->mode support */
|
||||||
|
|
||||||
struct spi_master *master;
|
struct spi_master *master;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue