spi: Make max_tx and max_rx the same type
Prevents spurious compiler warnings. Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
6ad45a27cb
commit
513273538a
|
@ -644,7 +644,7 @@ static int spi_map_msg(struct spi_master *master, struct spi_message *msg)
|
|||
struct device *tx_dev, *rx_dev;
|
||||
struct spi_transfer *xfer;
|
||||
void *tmp;
|
||||
size_t max_tx, max_rx;
|
||||
unsigned int max_tx, max_rx;
|
||||
int ret;
|
||||
|
||||
if (master->flags & (SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX)) {
|
||||
|
|
Loading…
Reference in New Issue