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

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

diff -u --recursive --new-file v2.1.17/linux/drivers/scsi/sg.c linux/drivers/scsi/sg.c
@@ -632,7 +632,7 @@
 #ifdef MODULE
 
 int init_module(void) {
-    sg_template.usage_count = &mod_use_count_;
+    sg_template.usage_count = &__this_module.usecount;
     return scsi_register_module(MODULE_SCSI_DEV, &sg_template);
 }
 

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