Skip to contentSkip to conversation

UltraStor 14F/34F build problem (2.4.13pre6)

PATCH New Andreas Steinmetz 1 participant 1 message Oct 23, 2001 SCSI

lore
Share & tools
lore
#0 lore raw

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

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

drivers/scsi/u14-34f.c +1 -1
@@ -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");