aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/rrunner.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-12-22 18:55:29 +0000
committerJeff Garzik <jeff@garzik.org>2007-12-22 22:53:07 -0500
commitcf96237837ec6d4fc48bc2f735c71027cc0fc5fa (patch)
tree6ef598ca69fda2cf5e713312cf6ce225864e7f48 /drivers/net/rrunner.h
parentr8169 endianness (diff)
downloadlinux-dev-cf96237837ec6d4fc48bc2f735c71027cc0fc5fa.tar.xz
linux-dev-cf96237837ec6d4fc48bc2f735c71027cc0fc5fa.zip
rrunner: use offsetof() instead of homegrown insanity
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/rrunner.h')
-rw-r--r--drivers/net/rrunner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/rrunner.h b/drivers/net/rrunner.h
index 6a79825bc8cf..6173f11218df 100644
--- a/drivers/net/rrunner.h
+++ b/drivers/net/rrunner.h
@@ -838,7 +838,7 @@ static unsigned int rr_read_eeprom(struct rr_private *rrpriv,
unsigned long offset,
unsigned char *buf,
unsigned long length);
-static u32 rr_read_eeprom_word(struct rr_private *rrpriv, void * offset);
+static u32 rr_read_eeprom_word(struct rr_private *rrpriv, size_t offset);
static int rr_load_firmware(struct net_device *dev);
static inline void rr_raz_tx(struct rr_private *, struct net_device *);
static inline void rr_raz_rx(struct rr_private *, struct net_device *);