[PATCH] UltraStor 14F/34F build problem (2.4.13pre6)

From: Andreas Steinmetz (ast@domdv.de)
Date: Tue Oct 23 2001 - 06:20:46 EST


drivers/scsi/u14-34f.c fails to build when built into the kernel due to missing
MODULE_LICENSE definition. Patch attached.

Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH


--- linux/drivers/scsi/u14-34f.c Tue Oct 23 12:57:34 2001
+++ linux-fixed/drivers/scsi/u14-34f.c Tue Oct 23 12:55:02 2001
@@ -334,6 +334,7 @@
  * the driver sets host->wish_block = TRUE for all ISA boards.
  */
 
+#include <linux/module.h>
 #include <linux/version.h>
 
 #ifndef LinuxVersionCode
@@ -343,7 +344,6 @@
 #define MAX_INT_PARAM 10
 
 #if defined(MODULE)
-#include <linux/module.h>
 
 MODULE_PARM(boot_options, "s");
 MODULE_PARM(io_port, "1-" __MODULE_STRING(MAX_INT_PARAM) "i");

End of MIME message
-
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 Oct 23 2001 - 21:00:36 EST