Commit 91384774 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

[TG3]: tg3_nvram_read_using_eeprom cannot be __init.

Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd9952f5
...@@ -6319,8 +6319,8 @@ static int tg3_get_eeprom_len(struct net_device *dev) ...@@ -6319,8 +6319,8 @@ static int tg3_get_eeprom_len(struct net_device *dev)
return EEPROM_CHIP_SIZE; return EEPROM_CHIP_SIZE;
} }
static int __devinit tg3_nvram_read_using_eeprom(struct tg3 *tp, static int tg3_nvram_read_using_eeprom(struct tg3 *tp,
u32 offset, u32 *val); u32 offset, u32 *val);
static int tg3_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *data) static int tg3_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *data)
{ {
struct tg3 *tp = dev->priv; struct tg3 *tp = dev->priv;
...@@ -6851,8 +6851,8 @@ static void __devinit tg3_nvram_init(struct tg3 *tp) ...@@ -6851,8 +6851,8 @@ static void __devinit tg3_nvram_init(struct tg3 *tp)
} }
} }
static int __devinit tg3_nvram_read_using_eeprom(struct tg3 *tp, static int tg3_nvram_read_using_eeprom(struct tg3 *tp,
u32 offset, u32 *val) u32 offset, u32 *val)
{ {
u32 tmp; u32 tmp;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment