From: Frank Mori Hess Date: Fri, 7 Dec 2001 21:53:32 +0000 (+0000) Subject: fix for MODULE_LICENSE() with 2.2 kernels X-Git-Tag: r0_7_62~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5e87dfb585f2782755a5ff84095ebb9eff14332;p=comedi.git fix for MODULE_LICENSE() with 2.2 kernels --- diff --git a/include/linux/module.h b/include/linux/module.h index 749207c6..1703c862 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -13,6 +13,10 @@ #define MODULE_PARM(a,b) #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) +#define MODULE_LICENSE(x) +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18) /* ? */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) #ifdef MODULE