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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/char/mixcomwd.c linux/drivers/char/mixcomwd.c
@@ -166,18 +166,10 @@
 
 static struct file_operations mixcomwd_fops=
 {
-	NULL,		/* Seek */
-	NULL,		/* Read */
-	mixcomwd_write,	/* Write */
-	NULL,		/* Readdir */
-	NULL,		/* Select */
-	mixcomwd_ioctl,	/* Ioctl */
-	NULL,		/* MMap */
-	mixcomwd_open,
-	NULL,		/* flush */
-	mixcomwd_release,
-	NULL,		
-	NULL		/* Fasync */
+	write:		mixcomwd_write,
+	ioctl:		mixcomwd_ioctl,
+	open:		mixcomwd_open,
+	release:	mixcomwd_release,
 };
 
 static struct miscdevice mixcomwd_miscdev=

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