projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7074222
)
fix for MODULE_LICENSE() with 2.2 kernels
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 7 Dec 2001 21:53:32 +0000
(21:53 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 7 Dec 2001 21:53:32 +0000
(21:53 +0000)
include/linux/module.h
patch
|
blob
|
history
diff --git
a/include/linux/module.h
b/include/linux/module.h
index 749207c6c09c403cef85282a46b384bbc09e770d..1703c862babd687ffbfa0bf4e13da36eed74a0b7 100644
(file)
--- 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