summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-12-11 23:23:56 +0100
committerJeff Garzik <jeff@garzik.org>2007-12-14 15:26:19 -0500
commitc2b75f0cd7cb14874f179d2c09c81f77ad784df2 (patch)
treeccd0841fc28d476b2148b14e01390d4fad95c646 /drivers/net
parent8e9859184031ac1b0a0234b8671a90cfcd333666 (diff)
downloadlinux-3.10-c2b75f0cd7cb14874f179d2c09c81f77ad784df2.tar.gz
linux-3.10-c2b75f0cd7cb14874f179d2c09c81f77ad784df2.tar.bz2
linux-3.10-c2b75f0cd7cb14874f179d2c09c81f77ad784df2.zip
drivers/net/sis190.c section fix
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/sis190.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c
index 720088396bb..49f767bef6a 100644
--- a/drivers/net/sis190.c
+++ b/drivers/net/sis190.c
@@ -1381,7 +1381,7 @@ out:
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);