## Automatically generated incremental diff
## From:   linux-2.2.8-pre2
## To:     linux-2.2.8-pre3
## Robot:  $Id: make-incremental-diff,v 1.11 2002/02/20 02:59:33 hpa Exp $

diff -urN linux-2.2.8-pre2/net/irda/ircomm/ircomm_common.c linux-2.2.8-pre3/net/irda/ircomm/ircomm_common.c
--- linux-2.2.8-pre2/net/irda/ircomm/ircomm_common.c	1999-04-24 17:50:06.000000000 -0700
+++ linux-2.2.8-pre3/net/irda/ircomm/ircomm_common.c	2003-08-15 15:06:02.000000000 -0700
@@ -147,13 +147,7 @@
 };
 
 #ifdef CONFIG_PROC_FS
-extern struct proc_dir_entry proc_irda;
-struct proc_dir_entry proc_ircomm = {
-	0, 6, "ircomm",
-        S_IFREG | S_IRUGO, 1, 0, 0,
-        0, NULL,
-        &ircomm_proc_read,
-};
+extern struct proc_dir_entry *proc_irda;
 #endif
 
 static void (*state[])( struct ircomm_cb *self, IRCOMM_EVENT event,
@@ -229,7 +223,7 @@
 	 */
 
 #ifdef CONFIG_PROC_FS
-	proc_register( &proc_irda, &proc_ircomm);
+	create_proc_entry("ircomm", 0, proc_irda)->get_info = ircomm_proc_read;
 #endif /* CONFIG_PROC_FS */
 
 
@@ -267,7 +261,7 @@
 	}
 
 #ifdef CONFIG_PROC_FS
-	proc_unregister( &proc_irda, proc_ircomm.low_ino);
+	remove_proc_entry("ircomm", proc_irda);
 #endif /* CONFIG_PROC_FS */
 }
 #endif /* MODULE */
diff -urN linux-2.2.8-pre2/net/irda/irlan/irlan_common.c linux-2.2.8-pre3/net/irda/irlan/irlan_common.c
--- linux-2.2.8-pre2/net/irda/irlan/irlan_common.c	1999-04-24 17:50:06.000000000 -0700
+++ linux-2.2.8-pre3/net/irda/irlan/irlan_common.c	2003-08-15 15:06:02.000000000 -0700
@@ -99,15 +99,8 @@
 static int irlan_proc_read(char *buf, char **start, off_t offset, int len, 
 			   int unused);
 
-extern struct proc_dir_entry proc_irda;
-
-struct proc_dir_entry proc_irlan = {
-	0, 5, "irlan",
-	S_IFREG | S_IRUGO, 1, 0, 0,
-	0, NULL,
-	&irlan_proc_read,
-};
-#endif /* CONFIG_PROC_FS */
+extern struct proc_dir_entry *proc_irda;
+#endif
 
 void irlan_watchdog_timer_expired(unsigned long data)
 {
@@ -188,7 +181,7 @@
 		return -ENOMEM;
 	}
 #ifdef CONFIG_PROC_FS
-	proc_register(&proc_irda, &proc_irlan);
+	create_proc_entry("irlan", 0, proc_irda)->get_info = irlan_proc_read;
 #endif /* CONFIG_PROC_FS */
 
 	DEBUG(4, __FUNCTION__ "()\n");
@@ -224,7 +217,7 @@
 	irlmp_unregister_service(skey);
 
 #ifdef CONFIG_PROC_FS
-	proc_unregister(&proc_irda, proc_irlan.low_ino);
+	remove_proc_entry("irlan", proc_irda);
 #endif /* CONFIG_PROC_FS */
 	/*
 	 *  Delete hashbin and close all irlan client instances in it
diff -urN linux-2.2.8-pre2/net/irda/irlpt/irlpt_cli.c linux-2.2.8-pre3/net/irda/irlpt/irlpt_cli.c
--- linux-2.2.8-pre2/net/irda/irlpt/irlpt_cli.c	1999-04-24 17:50:06.000000000 -0700
+++ linux-2.2.8-pre3/net/irda/irlpt/irlpt_cli.c	2003-08-15 15:06:02.000000000 -0700
@@ -157,14 +157,7 @@
 	return len;
 }
 
-struct proc_dir_entry proc_irlpt_client = {
-	0, 12, "irlpt_client",
-	S_IFREG | S_IRUGO, 1, 0, 0,
-	0, NULL /* ops -- default to array */,
-	&irlpt_client_proc_read /* get_info */,
-};
-
-extern struct proc_dir_entry proc_irda;
+extern struct proc_dir_entry *proc_irda;
 
 #endif /* CONFIG_PROC_FS */
 
@@ -193,7 +186,8 @@
 				     NULL);
 
 #ifdef CONFIG_PROC_FS
-	proc_register( &proc_irda, &proc_irlpt_client);
+	create_proc_entry("irlpt_client", 0, proc_irda)->get_info
+			= irlpt_client_proc_read;
 #endif /* CONFIG_PROC_FS */
 
 	DEBUG( irlpt_client_debug, __FUNCTION__ " -->\n");
@@ -219,7 +213,7 @@
 	hashbin_delete( irlpt_clients, (FREE_FUNC) irlpt_client_close);
 
 #ifdef CONFIG_PROC_FS
-	proc_unregister( &proc_irda, proc_irlpt_client.low_ino);
+	remove_proc_entry("irlpt_client", proc_irda);
 #endif
 
 	DEBUG( irlpt_client_debug, __FUNCTION__ " -->\n");
diff -urN linux-2.2.8-pre2/net/irda/irlpt/irlpt_srvr.c linux-2.2.8-pre3/net/irda/irlpt/irlpt_srvr.c
--- linux-2.2.8-pre2/net/irda/irlpt/irlpt_srvr.c	1999-04-15 05:42:42.000000000 -0700
+++ linux-2.2.8-pre3/net/irda/irlpt/irlpt_srvr.c	2003-08-15 15:06:02.000000000 -0700
@@ -160,14 +160,7 @@
 	return len;
 }
 
-extern struct proc_dir_entry proc_irda;
-
-struct proc_dir_entry proc_irlpt_server = {
-	0, 12, "irlpt_server",
-	S_IFREG | S_IRUGO, 1, 0, 0,
-	0, NULL /* ops -- default to array */,
-	&irlpt_server_proc_read /* get_info */,
-};
+extern struct proc_dir_entry *proc_irda;
 
 #endif /* CONFIG_PROC_FS */
 
@@ -215,7 +208,8 @@
 	register_irlpt_server();
 
 #ifdef CONFIG_PROC_FS
-	proc_register( &proc_irda, &proc_irlpt_server);
+	create_proc_entry("irlpt_server", 0, proc_irda)->get_info
+		= irlpt_server_proc_read;
 #endif /* CONFIG_PROC_FS */
 
 	DEBUG( irlpt_server_debug, __FUNCTION__ " -->\n");
@@ -248,7 +242,7 @@
 	kfree(irlpt_server);
 
 #ifdef CONFIG_PROC_FS
-	proc_unregister( &proc_irda, proc_irlpt_server.low_ino);
+	remove_proc_entry("irlpt_server", proc_irda);
 #endif
 
 	DEBUG( irlpt_server_debug, __FUNCTION__ " -->\n");
diff -urN linux-2.2.8-pre2/net/irda/irproc.c linux-2.2.8-pre3/net/irda/irproc.c
--- linux-2.2.8-pre2/net/irda/irproc.c	2003-08-15 15:06:01.000000000 -0700
+++ linux-2.2.8-pre3/net/irda/irproc.c	2003-08-15 15:06:02.000000000 -0700
@@ -84,12 +84,12 @@
  */
 void irda_proc_register(void) {
 	int i;
-	proc_irda = proc_create_entry("net/irda", S_IFDIR, NULL);
+	proc_irda = create_proc_entry("net/irda", S_IFDIR, NULL);
 #ifdef MODULE
 	proc_irda->fill_inode = &irda_proc_modcount;
 #endif /* MODULE */
 	for (i=0;i<IRDA_ENTRIES_NUM;i++)
-		proc_create_entry(dir[i].name,0,proc_irda)->get_info=dir[i].fn;
+		create_proc_entry(dir[i].name,0,proc_irda)->get_info=dir[i].fn;
 }
 
 /*
@@ -101,6 +101,6 @@
 void irda_proc_unregister(void) {
 	int i;
 	for (i=0;i<IRDA_ENTRIES_NUM;i++)
-		proc_remove_entry(dir[i].name, proc_irda);
-	proc_remove_entry("net/irda", NULL);
+		remove_proc_entry(dir[i].name, proc_irda);
+	remove_proc_entry("net/irda", NULL);
 }
