Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / net / ifb.c
index 43e3f33..2e222ef 100644 (file)
@@ -27,6 +27,7 @@
 */
 
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
@@ -271,7 +272,6 @@ static int __init ifb_init_module(void)
        for (i = 0; i < numifbs && !err; i++)
                err = ifb_init_one(i); 
        if (err) { 
-               i--;
                while (--i >= 0)
                        ifb_free_one(i);
        }