patch-2.3.43 linux/drivers/telephony/ixj.c

Next file: linux/drivers/telephony/phonedev.c
Previous file: linux/drivers/sound/wavfront.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/telephony/ixj.c linux/drivers/telephony/ixj.c
@@ -3922,20 +3922,12 @@
 
 struct file_operations ixj_fops =
 {
-	NULL,			/* ixj_lseek */
-	ixj_enhanced_read,
-	ixj_enhanced_write,
-	NULL,			/* ixj_readdir */
-	ixj_poll,
-	ixj_ioctl,
-	NULL,			/* ixj_mmap */
-//  ixj_open,
-	NULL,			/* ixj_open */
-	NULL,			/* ixj_flush */
-	ixj_release,
-	NULL,			/* ixj_fsync */
-	ixj_fasync,		/* ixj_fasync */
-	NULL			/* lock */
+	read:		ixj_enhanced_read,
+	write:		ixj_enhanced_write,
+	poll:		ixj_poll,
+	ioctl:		ixj_ioctl,
+	release:	ixj_release,
+	fasync:		ixj_fasync,
 };
 
 static int ixj_linetest(int board)

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