From d5e87dfb585f2782755a5ff84095ebb9eff14332 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 7 Dec 2001 21:53:32 +0000 Subject: [PATCH] fix for MODULE_LICENSE() with 2.2 kernels --- include/linux/module.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2