patch-2.3.48 linux/drivers/zorro/proc.c

Next file: linux/fs/Config.in
Previous file: linux/drivers/video/vgacon.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/drivers/zorro/proc.c linux/drivers/zorro/proc.c
@@ -77,10 +77,6 @@
 	read:		proc_bus_zorro_read,
 };
 
-static struct inode_operations proc_bus_zorro_inode_operations = {
-	&proc_bus_zorro_operations, /* default base directory file-ops */
-};
-
 static int
 get_zorro_dev_info(char *buf, char **start, off_t pos, int count)
 {
@@ -118,7 +114,7 @@
 	entry = create_proc_entry(name, 0, proc_bus_zorro_dir);
 	if (!entry)
 		return -ENOMEM;
-	entry->ops = &proc_bus_zorro_inode_operations;
+	entry->proc_fops = &proc_bus_zorro_operations;
 	entry->data = &zorro_autocon[slot];
 	entry->size = sizeof(struct zorro_dev);
 	return 0;

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