VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / net / 3c505.c
index 9c81e7b..3aa8409 100644 (file)
@@ -1614,6 +1614,7 @@ out:
        return err;
 }
 
+#ifndef MODULE
 struct net_device * __init elplus_probe(int unit)
 {
        struct net_device *dev = alloc_etherdev(sizeof(elp_device));
@@ -1632,7 +1633,7 @@ struct net_device * __init elplus_probe(int unit)
        return dev;
 }
 
-#ifdef MODULE
+#else
 static struct net_device *dev_3c505[ELP_MAX_CARDS];
 static int io[ELP_MAX_CARDS];
 static int irq[ELP_MAX_CARDS];