diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-12-22 19:55:29 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-23 04:53:07 +0100 |
commit | cf96237837ec6d4fc48bc2f735c71027cc0fc5fa (patch) | |
tree | 6ef598ca69fda2cf5e713312cf6ce225864e7f48 /drivers/net/rrunner.h | |
parent | r8169 endianness (diff) | |
download | linux-cf96237837ec6d4fc48bc2f735c71027cc0fc5fa.tar.xz linux-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.h | 2 |
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 *); |