From: Frank Mori Hess Date: Wed, 18 Jun 2003 18:07:00 +0000 (+0000) Subject: added EXPORT_SYMBOL_GPL() compat macro X-Git-Tag: r0_7_69~309 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=601d6dd8abe17b76b45016770bda2d3e2ae6a361;p=comedi.git added EXPORT_SYMBOL_GPL() compat macro --- diff --git a/include/linux/module.h b/include/linux/module.h index e0c6aaf9..51693371 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -17,6 +17,10 @@ #define MODULE_LICENSE(x) #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,11) +#define EXPORT_SYMBOL_GPL(x) EXPORT_SYMBOL(x) +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18) /* ? */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) #ifdef MODULE