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

Andreas Steinmetz (ast@domdv.de)
Tue, 23 Oct 2001 13:20:46 +0200 (CEST)


This message is in MIME format
--_=XFMail.1.4.6-3.Linux:20011023130230:5243=_
Content-Type: text/plain; charset=us-ascii

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

--_=XFMail.1.4.6-3.Linux:20011023130230:5243=_
Content-Disposition: attachment; filename="u14-34f.patch"
Content-Transfer-Encoding: 7bit
Content-Description: u14-34f.patch
Content-Type: text/plain; charset=us-ascii; name=u14-34f.patch; SizeOnDisk=492

--- 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");

--_=XFMail.1.4.6-3.Linux:20011023130230:5243=_--
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/