patch-2.3.43 linux/drivers/isdn/divert/divert_procfs.c

Next file: linux/drivers/isdn/isdn_common.c
Previous file: linux/drivers/isdn/avmb1/capi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/isdn/divert/divert_procfs.c linux/drivers/isdn/divert/divert_procfs.c
@@ -279,17 +279,13 @@
 
 static struct file_operations isdn_fops =
 {
-	isdn_divert_lseek,
-	isdn_divert_read,
-	isdn_divert_write,
-	NULL,                          /* isdn_readdir */
-	isdn_divert_poll,              /* isdn_poll */
-	isdn_divert_ioctl,             /* isdn_ioctl */
-	NULL,                          /* isdn_mmap */
-	isdn_divert_open,
-	NULL,                          /* flush */ 
-	isdn_divert_close,
-	NULL                           /* fsync */
+	llseek:		isdn_divert_lseek,
+	read:		isdn_divert_read,
+	write:		isdn_divert_write,
+	poll:		isdn_divert_poll,
+	ioctl:		isdn_divert_ioctl,
+	open:		isdn_divert_open,
+	release:	isdn_divert_close,
 };
 
 struct inode_operations divert_file_inode_operations = {

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