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

Next file: linux/drivers/isdn/hisax/hfc_sx.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.48/linux/drivers/isdn/divert/divert_procfs.c linux/drivers/isdn/divert/divert_procfs.c
@@ -302,17 +302,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,
 };
 
 /****************************/

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