Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- drivers/spi/altera_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/altera_spi.c b/drivers/spi/altera_spi.c index 60e124f..8803d9e 100644 --- a/drivers/spi/altera_spi.c +++ b/drivers/spi/altera_spi.c @@ -112,7 +112,7 @@ static void altera_spi_cs_inactive(struct spi_device *spi) static unsigned altera_spi_do_xfer(struct spi_device *spi, struct spi_transfer *t) { struct altera_spi *altera_spi = container_of(spi->master, struct altera_spi, master); - int word_len = spi->bits_per_word; + int word_len; unsigned retval = 0; u32 txval; u32 rxval; -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox