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

Next file: linux/drivers/sound/wavfront.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.3.42/linux/drivers/sound/vwsnd.c linux/drivers/sound/vwsnd.c
@@ -3029,19 +3029,14 @@
 }
 
 static struct file_operations vwsnd_audio_fops = {
-	&vwsnd_audio_llseek,
-	&vwsnd_audio_read,
-	&vwsnd_audio_write,
-	NULL,				/* readdir */
-	&vwsnd_audio_poll,
-	&vwsnd_audio_ioctl,
-	&vwsnd_audio_mmap,
-	&vwsnd_audio_open,
-	NULL,				/* flush */
-	&vwsnd_audio_release,
-	NULL,				/* fsync */
-	NULL,				/* fasync */
-	NULL,				/* lock */
+	llseek:		vwsnd_audio_llseek,
+	read:		vwsnd_audio_read,
+	write:		vwsnd_audio_write,
+	poll:		vwsnd_audio_poll,
+	ioctl:		vwsnd_audio_ioctl,
+	mmap:		vwsnd_audio_mmap,
+	open:		vwsnd_audio_open,
+	release:	vwsnd_audio_release,
 };
 
 /*****************************************************************************/
@@ -3238,19 +3233,10 @@
 }
 
 static struct file_operations vwsnd_mixer_fops = {
-	&vwsnd_mixer_llseek,
-	NULL,				/* read */
-	NULL,				/* write */
-	NULL,				/* readdir */
-	NULL,				/* poll */
-	&vwsnd_mixer_ioctl,
-	NULL,				/* mmap */
-	&vwsnd_mixer_open,
-	NULL,				/* flush */
-	&vwsnd_mixer_release,
-	NULL,				/* fsync */
-	NULL,				/* fasync */
-	NULL,				/* lock */
+	llseek:		vwsnd_mixer_llseek,
+	ioctl:		vwsnd_mixer_ioctl,
+	open:		vwsnd_mixer_open,
+	release:	vwsnd_mixer_release,
 };
 
 /*****************************************************************************/

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