diff options
author | Nicholas Mc Guire <der.herr@hofr.at> | 2015-02-02 03:30:32 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-04 15:52:32 -0500 |
commit | 682a71b28406a53bdc05c4c0d48443af72f1298e (patch) | |
tree | 75a7dbb0fcb6c7d521cd8cb2b9f23c7a123f91a4 /drivers/spi | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) |
spi: match var type to return type of wait_for_completion
return type of wait_for_completion_timeout is unsigned long not int, this
patch changes the type of m from int to unsigned long.
Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 66a70e9bc743..ba17929102ae 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c | |||
@@ -788,7 +788,7 @@ static int spi_transfer_one_message(struct spi_master *master, | |||
788 | struct spi_transfer *xfer; | 788 | struct spi_transfer *xfer; |
789 | bool keep_cs = false; | 789 | bool keep_cs = false; |
790 | int ret = 0; | 790 | int ret = 0; |
791 | int ms = 1; | 791 | unsigned long ms = 1; |
792 | 792 | ||
793 | spi_set_cs(msg->spi, true); | 793 | spi_set_cs(msg->spi, true); |
794 | 794 | ||