Re: 2.6.1-mm4

Thomas Schlichter
2004-01-16T17:58:15Z

[-- Attachment #1.1: body text --]
[-- Type: text/plain, Size: 268 bytes --]

Hi Andrew,

the attached patch fixes a link error of the kernel module 'drivers/scsi/
pcmcia/aha152x_cs.ko' because of two module_init() and two module_exit()
functions. Now the module links but I did not test it further...

Best regards
Thomas Schlichter

[-- Attachment #1.2: fix-PCMCIA-aha152x.diff --]
[-- Type: text/x-diff, Size: 329 bytes --]

--- linux-2.6.1-mm4/drivers/scsi/aha152x.c.orig 2004-01-16 16:26:09.018919528 +0100
+++ linux-2.6.1-mm4/drivers/scsi/aha152x.c 2004-01-16 16:26:42.661805032 +0100
@@ -3914,5 +3914,7 @@
.use_clustering = DISABLE_CLUSTERING,
};

+#if !defined(PCMCIA)
module_init(aha152x_init);
module_exit(aha152x_exit);
+#endif

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]