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

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

diff -u --recursive --new-file v2.3.48/linux/drivers/isdn/hysdn/hysdn_proclog.c linux/drivers/isdn/hysdn/hysdn_proclog.c
@@ -420,17 +420,12 @@
 /**************************************************/
 static struct file_operations log_fops =
 {
-	hysdn_dummy_lseek,
-	hysdn_log_read,
-	hysdn_log_write,
-	NULL,			/* readdir */
-	hysdn_log_poll,		/* poll */
-	NULL,
-	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)