diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-13 00:56:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-13 00:56:11 -0500 |
commit | 23d30f027d1e8ad3bcd6192613122ce925947563 (patch) | |
tree | 3de1d9ed2940e68a52c6933ec73145b44a0f34b9 /drivers/net/sfc/spi.h | |
parent | a17102b1ba847ca31d9151b877fbf9a38a39a8bb (diff) |
sfc: Change SPI lengths to type size_t
Based on a patch by Andrew Morton.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/spi.h')
-rw-r--r-- | drivers/net/sfc/spi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/spi.h b/drivers/net/sfc/spi.h index c4aca132348a..38e22ff4d7af 100644 --- a/drivers/net/sfc/spi.h +++ b/drivers/net/sfc/spi.h | |||
@@ -68,7 +68,7 @@ struct efx_spi_device { | |||
68 | }; | 68 | }; |
69 | 69 | ||
70 | int falcon_spi_cmd(const struct efx_spi_device *spi, unsigned int command, | 70 | int falcon_spi_cmd(const struct efx_spi_device *spi, unsigned int command, |
71 | int address, const void* in, void *out, unsigned int len); | 71 | int address, const void* in, void *out, size_t len); |
72 | int falcon_spi_fast_wait(const struct efx_spi_device *spi); | 72 | int falcon_spi_fast_wait(const struct efx_spi_device *spi); |
73 | int falcon_spi_read(const struct efx_spi_device *spi, loff_t start, | 73 | int falcon_spi_read(const struct efx_spi_device *spi, loff_t start, |
74 | size_t len, size_t *retlen, u8 *buffer); | 74 | size_t len, size_t *retlen, u8 *buffer); |