]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
drivers/net/sis190.c section fix
authorAdrian Bunk <bunk@kernel.org>
Tue, 11 Dec 2007 22:23:56 +0000 (23:23 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 14 Dec 2007 20:26:19 +0000 (15:26 -0500)
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>
drivers/net/sis190.c

index 720088396bb917a89552bedf521487c425649b58..49f767bef6aed05c97fd9220f83c2ffac7040f21 100644 (file)
@@ -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);