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

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

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

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