]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: spi-bitbang: change flags from u8 to u16
authorDavid Lechner <david@lechnology.com>
Tue, 17 Jul 2018 03:20:49 +0000 (22:20 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 18 Jul 2018 14:54:21 +0000 (15:54 +0100)
commit7c201ead1bfd19935f689fca69100c335028c047
tree3745dec8ca62f3c2d203ddcfd0e5882cde9f796d
parentb86d77123c6e1ecc102aa49c2378999737092891
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>
include/linux/spi/spi_bitbang.h