Skip to content

Commit

Permalink
drivers/net/sis190.c section fix
Browse files Browse the repository at this point in the history
This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:

<--  snip  -->

...
WARNING: vmlinux.o(.init.text.20+0x4cb25): Section mismatch: reference to .exit.text:sis190_mii_remove (between 'sis190_init_one' and 'read_eeprom')
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Dec 14, 2007
1 parent 8e98591 commit c2b75f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/sis190.c
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ static int __devinit sis190_mii_probe(struct net_device *dev)
return rc;
}

static void __devexit sis190_mii_remove(struct net_device *dev)
static void sis190_mii_remove(struct net_device *dev)
{
struct sis190_private *tp = netdev_priv(dev);

Expand Down

0 comments on commit c2b75f0

Please sign in to comment.