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

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

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

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