[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.6.1-mm4



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
--- 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

signature