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

Next file: linux/drivers/sbus/char/zs.c
Previous file: linux/drivers/sbus/char/uctrl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/sbus/char/vfc_dev.c linux/drivers/sbus/char/vfc_dev.c
@@ -627,16 +627,11 @@
 }
 
 static struct file_operations vfc_fops = {
-	vfc_lseek,   /* vfc_lseek */
-	NULL,        /* vfc_write */
-	NULL,        /* vfc_read */
-	NULL,        /* vfc_readdir */
-	NULL,        /* vfc_select */
-	vfc_ioctl,   
-	vfc_mmap, 
-	vfc_open,
-	NULL,	     /* flush */
-	vfc_release,
+	llseek:		vfc_lseek,
+	ioctl:		vfc_ioctl,
+	mmap:		vfc_mmap,
+	open:		vfc_open,
+	release:	vfc_release,
 };
 
 static int vfc_probe(void)

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