]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/hp-plus.c
8139too: fix a TX timeout watchdog thread against NAPI softirq race
[linux-2.6-omap-h63xx.git] / drivers / net / hp-plus.c
index 0abf5dd08b4c5030e4c1b26021eb7f969fef20d2..74e167e7dea77bf8c908aef9ca87e456a6a6e675 100644 (file)
@@ -138,12 +138,6 @@ static int __init do_hpp_probe(struct net_device *dev)
        return -ENODEV;
 }
 
-static void cleanup_card(struct net_device *dev)
-{
-       /* NB: hpp_close() handles free_irq */
-       release_region(dev->base_addr - NIC_OFFSET, HP_IO_EXTENT);
-}
-
 #ifndef MODULE
 struct net_device * __init hp_plus_probe(int unit)
 {
@@ -473,6 +467,12 @@ init_module(void)
        return -ENXIO;
 }
 
+static void cleanup_card(struct net_device *dev)
+{
+       /* NB: hpp_close() handles free_irq */
+       release_region(dev->base_addr - NIC_OFFSET, HP_IO_EXTENT);
+}
+
 void
 cleanup_module(void)
 {