diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-10-27 21:26:08 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-28 19:39:23 +0100 |
commit | f895e27f591228704954cc8927d9c61b3f3da90f (patch) | |
tree | bec90360ba75e6a38d859b77f79be5c1337abd6f /drivers/spi/spi-fsl-lib.h | |
parent | 54731265966db742dda09008bd9bbe12ae11e93e (diff) |
spi: fsl-espi: Rename len in struct mpc8xxx_spi to rx_len and make it unsigned
Now that we introduced element tx_len in struct mpc8xxx_spi let's
rename element len to rx_len as it actually is the number of bytes to
receive. In addition make it unsigned.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.h')
-rw-r--r-- | drivers/spi/spi-fsl-lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-lib.h b/drivers/spi/spi-fsl-lib.h index 24d8bc84a111..35a7a1730d0c 100644 --- a/drivers/spi/spi-fsl-lib.h +++ b/drivers/spi/spi-fsl-lib.h @@ -29,7 +29,7 @@ struct mpc8xxx_spi { const void *tx; void *rx; #if IS_ENABLED(CONFIG_SPI_FSL_ESPI) - int len; + unsigned int rx_len; unsigned int tx_len; u8 *local_buf; spinlock_t lock; |