Re: 2.5.67 compile problem...

From: Michael Buesch (freesoftwaredeveloper@web.de)
Date: Tue Apr 08 2003 - 13:56:12 EST


On Tuesday 08 April 2003 20:06, Bruno Boettcher wrote:
> Hello!
>
> after the yesterday cramfs problem, (BTW thanks for those who helped me
> iron that out) here another compile problem, with
> the patched 2.5.66 thus mathing a 67 kernel:
>
> [...]
>
> again if someone has a suggestion....
> and please add me as CC to any reply

This may fix it. (It's not tested)

Regards Michael Buesch.

--- drivers/block/ps2esdi.c.orig 2003-04-08 20:50:17.000000000 +0200
+++ drivers/block/ps2esdi.c 2003-04-08 20:52:43.000000000 +0200
@@ -165,7 +165,6 @@
         return 0;
 } /* ps2esdi_init */
 
-module_init(ps2esdi_init);
 
 #ifdef MODULE
 
@@ -200,6 +199,8 @@
 
 void
 cleanup_module(void) {
+ int i;
+
         if(ps2esdi_slot) {
                 mca_mark_as_unused(ps2esdi_slot);
                 mca_set_adapter_procfn(ps2esdi_slot, NULL, NULL);
@@ -214,6 +215,8 @@
                 put_disk(ps2esdi_gendisk[i]);
         }
 }
+#else /* MODULE */
+module_init(ps2esdi_init);
 #endif /* MODULE */
 
 /* handles boot time command line parameters */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:16 EST