[PATCH] drivers/sound/soundcard.c doesn't compile

From: Manfred (manfred@colorfullife.com)
Date: Fri Jul 07 2000 - 08:36:07 EST


2.4.0test3-pre5

drivers/sound/soundcard.c doesn't compile if build into the kernel.

error message:
soundcard.c:499: 'THIS_MODULE' undeclared here (not in a function)

fix is below.

--
	Manfred

<<<<<<<<<<<<< --- 2.4/drivers/sound/os.h Sun Nov 8 22:56:10 1998 +++ build-2.4/drivers/sound/os.h Fri Jul 7 15:27:54 2000 @@ -4,11 +4,9 @@ #define MANUAL_PNP #undef DO_TIMINGS -#ifdef MODULE -#define __NO_VERSION__ #include <linux/module.h> #include <linux/version.h> -#endif + #if LINUX_VERSION_CODE > 131328 #define LINUX21X #endif >>>>>>>>>>>>>

- 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/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:21 EST