Skip to contentSkip to conversation

add .module to qla1280 template

PATCH New James Bottomley 1 participant 1 message Sep 21, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add .module to qla1280 template

This was missing. It needs to be added so the module tracking actually works correctly for the driver.

James

===== drivers/scsi/qla1280.c 1.65 vs edited =====

drivers/scsi/qla1280.c +1 -0
@@ -4641,6 +4641,7 @@
 
 #if LINUX_VERSION_CODE >= 0x020600
 static struct scsi_host_template qla1280_driver_template = {
+	.module			= THIS_MODULE,
 	.proc_name		= "qla1280",
 	.name			= "Qlogic ISP 1280/12160",
 	.info			= qla1280_info,