summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_module.c')
-rw-r--r--drivers/scsi/scsi_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_module.c b/drivers/scsi/scsi_module.c
index 9ba78d835..5316e2e64 100644
--- a/drivers/scsi/scsi_module.c
+++ b/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.module = &__this_module;
scsi_register_module(MODULE_SCSI_HA, &driver_template);
return (driver_template.present == 0);
}