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

Next file: linux/drivers/isdn/eicon/eicon_idi.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.47/linux/drivers/isdn/divert/divert_procfs.c linux/drivers/isdn/divert/divert_procfs.c
@@ -315,8 +315,6 @@
 	NULL			/* fsync */
 };
 
-struct inode_operations divert_file_inode_operations;
-
 /****************************/
 /* isdn subdir in /proc/net */
 /****************************/
@@ -342,9 +340,7 @@
 		remove_proc_entry("isdn", proc_net);
 		return (-1);
 	}
-	memset(&divert_file_inode_operations, 0, sizeof(struct inode_operations));
-	divert_file_inode_operations.default_file_ops = &isdn_fops;
-	isdn_divert_entry->ops = &divert_file_inode_operations;
+	isdn_divert_entry->proc_fops = &isdn_fops;
 #endif	/* CONFIG_PROC_FS */
 
 	return (0);

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