wd719x: add missing .module to wd719x_template
authorOndrej Zary <linux@rainbow-software.org>
Mon, 9 Feb 2015 12:38:21 +0000 (13:38 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 15 Feb 2015 18:34:39 +0000 (10:34 -0800)
commit2ecf8e0ae28cb22d434e628c351c6193fd75fafa
treeb07da7fb0b67943d3c22f4d095920b170429fb2c
parent397ea9cb195e1b5a2313682c90b9d394118df433
wd719x: add missing .module to wd719x_template

wd719x_template is missing the .module field, causing module refcount
not to work, allowing to rmmod the driver while in use (mounted filesystem),
causing an oops.

Set .module to THIS_MODULE to fix the problem.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/wd719x.c