unresolved symbol irda_cleanup

David Jez (dave.jez@seznam.cz)
Fri, 1 Jun 2001 17:08:52 +0200


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" Jez                Brno, CZ, Europe
 E-mail: dave.jez@seznam.cz
PGP key: finger xjezda00@fest.stud.fee.vutbr.cz
---------=[ ~EOF ]=------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/