Re: 2.3.27 irda

Keith Owens (kaos@ocs.com.au)
Fri, 12 Nov 1999 21:25:29 +1100


On Fri, 12 Nov 1999 06:14:42 -0400,
"Garst R. Reese" <reese@isn.net> wrote:
>Can't compile as module. Have not tried otherwise.
>It does not like modules.h being in both irproc and irmod.

Index: 27.3/net/irda/irmod.c
--- 27.3/net/irda/irmod.c Fri, 12 Nov 1999 18:53:00 +1100 keith (linux-2.3/X/48_irmod.c 1.9 644)
+++ 27.3(w)/net/irda/irmod.c Fri, 12 Nov 1999 21:24:44 +1100 keith (linux-2.3/X/48_irmod.c 1.9 644)
@@ -23,6 +23,7 @@
********************************************************************/

#include <linux/config.h>
+#define __NO_VERSION__ /* irproc defines module_kernel_version */
#include <linux/module.h>

#include <linux/init.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/