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

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

diff -u --recursive --new-file v2.1.17/linux/drivers/scsi/scsi_module.c linux/drivers/scsi/scsi_module.c
@@ -32,7 +32,7 @@
 #include <linux/module.h>
 
 int init_module(void) {
-    driver_template.usage_count = &mod_use_count_;
+    driver_template.usage_count = &__this_module.usecount;
     scsi_register_module(MODULE_SCSI_HA, &driver_template);
     return (driver_template.present == 0);
 }

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