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:
Mark Brown 2014-02-12 20:31:26 +00:00
parent 6ad45a27cb
commit 513273538a
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {