]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/3c503.c
[PATCH] Wavelan_cs bitfield fixes
[linux-2.6-omap-h63xx.git] / drivers / net / 3c503.c
index 5c5eebdb69146e5fb83f86ff6870f796d5e95933..dcc98afa65d717c7abe1f7360c0c9a90c75c3ce7 100644 (file)
@@ -148,14 +148,6 @@ el2_pio_probe(struct net_device *dev)
     return -ENODEV;
 }
 
-static void cleanup_card(struct net_device *dev)
-{
-       /* NB: el2_close() handles free_irq */
-       release_region(dev->base_addr, EL2_IO_EXTENT);
-       if (ei_status.mem)
-               iounmap(ei_status.mem);
-}
-
 #ifndef MODULE
 struct net_device * __init el2_probe(int unit)
 {
@@ -726,6 +718,14 @@ init_module(void)
        return -ENXIO;
 }
 
+static void cleanup_card(struct net_device *dev)
+{
+       /* NB: el2_close() handles free_irq */
+       release_region(dev->base_addr, EL2_IO_EXTENT);
+       if (ei_status.mem)
+               iounmap(ei_status.mem);
+}
+
 void
 cleanup_module(void)
 {