projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ad45a2
)
spi: Make max_tx and max_rx the same type
author
Mark Brown
<broonie@linaro.org>
Wed, 12 Feb 2014 20:31:26 +0000
(20:31 +0000)
committer
Mark Brown
<broonie@linaro.org>
Wed, 12 Feb 2014 20:38:20 +0000
(20:38 +0000)
Prevents spurious compiler warnings.
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi.c
b/drivers/spi/spi.c
index 49313dd0a1443f24fcc0f1b1041b83bc02ea905a..f3fb1acf9ac17f66dbc8d117cba7abc112f53e25 100644
(file)
--- a/
drivers/spi/spi.c
+++ b/
drivers/spi/spi.c
@@
-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 in
t max_tx, max_rx;
int ret;
if (master->flags & (SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX)) {