projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31e704e
)
added THIS_MODULE
author
David Schleef
<ds@schleef.org>
Thu, 13 Jul 2000 00:54:01 +0000
(
00:54
+0000)
committer
David Schleef
<ds@schleef.org>
Thu, 13 Jul 2000 00:54:01 +0000
(
00:54
+0000)
comedi/kern_compat.h
patch
|
blob
|
history
diff --git
a/comedi/kern_compat.h
b/comedi/kern_compat.h
index 77a69367558132707077c9b6e02671d92c943904..d05b71b5353651622291c9f4c62c60b90526a462 100644
(file)
--- a/
comedi/kern_compat.h
+++ b/
comedi/kern_compat.h
@@
-208,6
+208,13
@@
typedef struct wait_queue *wait_queue_head_t;
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0) /* ? */
+#ifdef MODULE
+#define THIS_MODULE &__this_module
+#else
+#define THIS_MODULE NULL
+#endif
+#endif
#endif /* _KERN_COMPAT_H */