aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/spi.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-12-13 00:56:11 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-13 00:56:11 -0500
commit23d30f027d1e8ad3bcd6192613122ce925947563 (patch)
tree3de1d9ed2940e68a52c6933ec73145b44a0f34b9 /drivers/net/sfc/spi.h
parenta17102b1ba847ca31d9151b877fbf9a38a39a8bb (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.h2
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
70int falcon_spi_cmd(const struct efx_spi_device *spi, unsigned int command, 70int 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);
72int falcon_spi_fast_wait(const struct efx_spi_device *spi); 72int falcon_spi_fast_wait(const struct efx_spi_device *spi);
73int falcon_spi_read(const struct efx_spi_device *spi, loff_t start, 73int 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);