patch-2.3.43 linux/drivers/sound/msnd_pinnacle.c

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

diff -u --recursive --new-file v2.3.42/linux/drivers/sound/msnd_pinnacle.c linux/drivers/sound/msnd_pinnacle.c
@@ -1122,20 +1122,11 @@
 }
 
 static struct file_operations dev_fileops = {
-	NULL,		/* llseek */
-	dev_read,	/* read */
-	dev_write,	/* write */
-	NULL,		/* readdir */
-	NULL,		/* poll */
-	dev_ioctl,	/* ioctl */
-	NULL,		/* mmap */
-	dev_open,	/* open */
-#ifndef LINUX20
-	NULL,		/* flush */
-#endif
-	dev_release,	/* release */
-	NULL,		/* fsync */
-	NULL,		/* fasync */
+	read:		dev_read,
+	write:		dev_write,
+	ioctl:		dev_ioctl,
+	open:		dev_open,
+	release:	dev_release,
 };
 
 static int reset_dsp(void)

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