]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/lne390.c
Merge signal handler branch
[linux-2.6-omap-h63xx.git] / drivers / net / lne390.c
index 309d254842cf2f85ab2d0ea7653b98d4132b7248..646e89fc3562f975848af257b45249491db0f673 100644 (file)
@@ -145,13 +145,6 @@ static int __init do_lne390_probe(struct net_device *dev)
        return -ENODEV;
 }
 
-static void cleanup_card(struct net_device *dev)
-{
-       free_irq(dev->irq, dev);
-       release_region(dev->base_addr, LNE390_IO_EXTENT);
-       iounmap(ei_status.mem);
-}
-
 #ifndef MODULE
 struct net_device * __init lne390_probe(int unit)
 {
@@ -440,6 +433,13 @@ int init_module(void)
        return -ENXIO;
 }
 
+static void cleanup_card(struct net_device *dev)
+{
+       free_irq(dev->irq, dev);
+       release_region(dev->base_addr, LNE390_IO_EXTENT);
+       iounmap(ei_status.mem);
+}
+
 void cleanup_module(void)
 {
        int this_dev;