patch-2.1.18 linux/drivers/scsi/ide-scsi.c

Next file: linux/drivers/scsi/ppa.c
Previous file: linux/drivers/scsi/fdomain.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.17/linux/drivers/scsi/ide-scsi.c linux/drivers/scsi/ide-scsi.c
@@ -467,7 +467,7 @@
 int init_module (void)
 {
 	idescsi_init ();
-	idescsi_template.usage_count = &mod_use_count_;
+	idescsi_template.usage_count = &__this_module.usecount;
 	scsi_register_module (MODULE_SCSI_HA, &idescsi_template);
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov