patch-2.4.0-test2 linux/drivers/sound/wavfront.c

Next file: linux/drivers/sound/ymf_sb.c
Previous file: linux/drivers/sound/via82cxxx_audio.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/sound/wavfront.c linux/drivers/sound/wavfront.c
@@ -1953,7 +1953,6 @@
 {
 	/* XXX fix me */
 	dev.opened = file->f_flags;
-	MOD_INC_USE_COUNT;
 	return 0;
 }
 
@@ -1962,7 +1961,6 @@
 {
 	dev.opened = 0;
 	dev.debug = 0;
-	MOD_DEC_USE_COUNT;
 	return 0;
 }
 
@@ -1996,6 +1994,7 @@
 }
 
 static /*const*/ struct file_operations wavefront_fops = {
+	owner:		THIS_MODULE,
 	llseek:		wavefront_llseek,
 	ioctl:		wavefront_ioctl,
 	open:		wavefront_open,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)