unresolved symbol irda_cleanup

2001-06-01 Thread David Jez

  Hi,

  I solved this problem. IrDA hasn't worked since 2.4.2 kernel with this
error message. Problem was static definition of irda_clenup() in irsyms.c
  My patch is from kernel 2.4.4, but can be aplied to 2.4.5 too.

  Dave.
PS: I'm not in mailing list.


diff -urN linux-2.4.4.orig/net/irda/irsyms.c linux-2.4.4/net/irda/irsyms.c
--- linux-2.4.4.orig/net/irda/irsyms.c  Thu May 31 16:02:07 2001
+++ linux-2.4.4/net/irda/irsyms.c   Thu May 31 16:02:00 2001
@@ -218,7 +218,7 @@
return 0;
 }
 
-static void __exit irda_cleanup(void)
+void __exit irda_cleanup(void)
 {
 #ifdef CONFIG_SYSCTL
irda_sysctl_unregister();
-- 
---
  David "Dave" JezBrno, CZ, Europe
 E-mail: [EMAIL PROTECTED]
PGP key: finger [EMAIL PROTECTED]
-=[ ~EOF ]=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



unresolved symbol irda_cleanup

2001-06-01 Thread David Jez

  Hi,

  I solved this problem. IrDA hasn't worked since 2.4.2 kernel with this
error message. Problem was static definition of irda_clenup() in irsyms.c
  My patch is from kernel 2.4.4, but can be aplied to 2.4.5 too.

  Dave.
PS: I'm not in mailing list.


diff -urN linux-2.4.4.orig/net/irda/irsyms.c linux-2.4.4/net/irda/irsyms.c
--- linux-2.4.4.orig/net/irda/irsyms.c  Thu May 31 16:02:07 2001
+++ linux-2.4.4/net/irda/irsyms.c   Thu May 31 16:02:00 2001
@@ -218,7 +218,7 @@
return 0;
 }
 
-static void __exit irda_cleanup(void)
+void __exit irda_cleanup(void)
 {
 #ifdef CONFIG_SYSCTL
irda_sysctl_unregister();
-- 
---
  David Dave JezBrno, CZ, Europe
 E-mail: [EMAIL PROTECTED]
PGP key: finger [EMAIL PROTECTED]
-=[ ~EOF ]=
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/