patch-2.3.43 linux/drivers/char/dsp56k.c

Next file: linux/drivers/char/dtlk.c
Previous file: linux/drivers/char/busmouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/char/dsp56k.c linux/drivers/char/dsp56k.c
@@ -501,18 +501,11 @@
 }
 
 static struct file_operations dsp56k_fops = {
-	NULL,    /* no special dsp56k_lseek */
-	dsp56k_read,
-	dsp56k_write,
-	NULL,    /* no special dsp56k_readdir */
-	NULL,    /* dsp56k_poll? */
-	dsp56k_ioctl,
-	NULL,    /* no special dsp56k_mmap */
-	dsp56k_open,
-	NULL,	/* flush */
-	dsp56k_release,
-	NULL,    /* no special dsp56k_fsync */
-	NULL,    /* no special dsp56k_fasync */
+	read:		dsp56k_read,
+	write:		dsp56k_write,
+	ioctl:		dsp56k_ioctl,
+	open:		dsp56k_open,
+	release:	dsp56k_release,
 };
 
 

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