Commit 9bfbdf16 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley

Add missing .module initialisation to lasi700 and sim710

This bug prevents their module refcounts being increased by opending upper layer drivers
Thus they can be removed at any time and panic the system.
parent 84566fc7
......@@ -69,6 +69,7 @@ static Scsi_Host_Template lasi700_template = {
.name = "LASI SCSI 53c700",
.proc_name = "lasi700",
.this_id = 7,
.module = THIS_MODULE,
};
MODULE_DEVICE_TABLE(parisc, lasi700_ids);
......
......@@ -90,6 +90,7 @@ static Scsi_Host_Template sim710_driver_template = {
.name = "LSI (Symbios) 710 MCA/EISA",
.proc_name = "sim710",
.this_id = 7,
.module = THIS_MODULE,
};
static __devinit int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment