Commit 51327353 authored by Mark Brown's avatar Mark Brown

spi: Make max_tx and max_rx the same type

Prevents spurious compiler warnings.
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 6ad45a27
......@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment