patch-2.3.43 linux/drivers/sbus/char/bpp.c

Next file: linux/drivers/sbus/char/envctrl.c
Previous file: linux/drivers/sbus/char/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/sbus/char/bpp.c linux/drivers/sbus/char/bpp.c
@@ -834,19 +834,11 @@
 }
 
 static struct file_operations bpp_fops = {
-	NULL,		/* bpp_lseek */
-	bpp_read,
-	bpp_write,
-	NULL,		/* bpp_readdir */
-	NULL,		/* bpp_select */
-	bpp_ioctl,
-	NULL,		/* bpp_mmap */
-	bpp_open,
-	NULL,		/* flush */
-	bpp_release,
-  NULL,   /* fsync */
-  NULL,   /* fasync */
-  NULL,   /* lock */
+	read:		bpp_read,
+	write:		bpp_write,
+	ioctl:		bpp_ioctl,
+	open:		bpp_open,
+	release:	bpp_release,
 };
 
 #if defined(__i386__)

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