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,7 +6319,7 @@ static int tg3_get_eeprom_len(struct net_device *dev)
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);
static int tg3_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 *data)
{
......@@ -6851,7 +6851,7 @@ 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 tmp;
......
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