From: Frank Mori Hess Date: Mon, 10 Dec 2001 17:32:37 +0000 (+0000) Subject: okay, MODULE_LICENSE was introduced in 2.4.10 X-Git-Tag: r0_7_62~53 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=59900aec0ab3b530bf551dbf1dd004247e5fd5fd;p=comedi.git okay, MODULE_LICENSE was introduced in 2.4.10 --- diff --git a/include/linux/module.h b/include/linux/module.h index 02b55495..1c7010e3 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,10) +#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 @@ -35,7 +39,6 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) #define MODULE_DEVICE_TABLE(a,b) -#define MODULE_LICENSE(x) #endif #include_next