patch-2.3.49 linux/drivers/isdn/hysdn/hysdn_procfs.c

Next file: linux/drivers/isdn/hysdn/hysdn_proclog.c
Previous file: linux/drivers/isdn/hysdn/hysdn_procconf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/drivers/isdn/hysdn/hysdn_procfs.c linux/drivers/isdn/hysdn/hysdn_procfs.c
@@ -338,17 +338,12 @@
 /**************************************************/
 static struct file_operations log_fops =
 {
-	hysdn_dummy_lseek,
-	hysdn_log_read,
-	hysdn_log_write,
-	NULL,			/* readdir */
-	hysdn_log_poll,		/* poll */
-	NULL,			/*hysdn_log_ioctl, *//* ioctl */
-	NULL,			/* mmap */
-	hysdn_log_open,
-	NULL,			/* flush */
-	hysdn_log_close,
-	NULL			/* fsync */
+	llseek:		hysdn_dummy_lseek,
+	read:		hysdn_log_read,
+	write:		hysdn_log_write,
+	poll:		hysdn_log_poll,
+	open:		hysdn_log_open,
+	release:	hysdn_log_close,
 };
 
 /*****************************************/

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