diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-05-30 11:59:41 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-01 14:46:16 -0400 |
commit | 51faed692b6a76870b53415307be54b39b5d4016 (patch) | |
tree | fc3803efe8b37378b05e0bbfdeccae9a62522302 /drivers/spi/spi-fsl-espi.c | |
parent | eca8960a8e0f48dc62c1063bcc33a626455d766e (diff) |
spi: fix build break in spi-fsl-espi.c
Fix a build error introduced by 24778be "spi: convert drivers to use
bits_per_word_mask":
drivers/spi/spi-fsl-espi.c:162:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-fsl-espi.c')
-rw-r--r-- | drivers/spi/spi-fsl-espi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index 0ef05f198f22..6a74d7848d93 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c | |||
@@ -153,7 +153,7 @@ static int fsl_espi_setup_transfer(struct spi_device *spi, | |||
153 | cs->get_tx = mpc8xxx_spi_tx_buf_u32; | 153 | cs->get_tx = mpc8xxx_spi_tx_buf_u32; |
154 | if (bits_per_word <= 8) { | 154 | if (bits_per_word <= 8) { |
155 | cs->rx_shift = 8 - bits_per_word; | 155 | cs->rx_shift = 8 - bits_per_word; |
156 | } else | 156 | } else { |
157 | cs->rx_shift = 16 - bits_per_word; | 157 | cs->rx_shift = 16 - bits_per_word; |
158 | if (spi->mode & SPI_LSB_FIRST) | 158 | if (spi->mode & SPI_LSB_FIRST) |
159 | cs->get_tx = fsl_espi_tx_buf_lsb; | 159 | cs->get_tx = fsl_espi_tx_buf_lsb; |