Fix compilation for rt due to changes in comedidev.h. Fixes #8
authorDavid Schleef <ds@schleef.org>
Mon, 2 Dec 2002 20:03:27 +0000 (20:03 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 2 Dec 2002 20:03:27 +0000 (20:03 +0000)
comedi/rt.c
comedi/rt_pend_tq.c

index 2ed2c490c1d196f7d52dd552663d48d59a81d23b..532b43a554542c1328b3d29d1008b48083b4b9ab 100644 (file)
@@ -23,6 +23,7 @@
 
 #undef DEBUG
 
+#define __NO_VERSION__
 #include <linux/comedidev.h>
 
 #include <linux/errno.h>
index ff08ed76d79d90787c6e8374c8b3076716278a14..9b9271a1fb82341fde79556b30214dc3163270f0 100644 (file)
@@ -1,3 +1,4 @@
+#define __NO_VERSION__
 /* rt_pend_tq.c */
 #include <linux/kernel.h>
 #include <linux/errno.h>
@@ -52,6 +53,7 @@ int rt_pend_call(void (*func)(int arg1, void * arg2), int arg1, void * arg2)
 #endif
 #ifdef CONFIG_COMEDI_RTL
        rtl_global_pend_irq(rt_pend_tq_irq);
+
 #endif
        return 0;
 }