From bb14d4788ca4eb599c9be737a31d77aa728e715d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 2 Dec 2002 20:03:27 +0000 Subject: [PATCH] Fix compilation for rt due to changes in comedidev.h. Fixes #8 --- comedi/rt.c | 1 + comedi/rt_pend_tq.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/comedi/rt.c b/comedi/rt.c index 2ed2c490..532b43a5 100644 --- a/comedi/rt.c +++ b/comedi/rt.c @@ -23,6 +23,7 @@ #undef DEBUG +#define __NO_VERSION__ #include #include diff --git a/comedi/rt_pend_tq.c b/comedi/rt_pend_tq.c index ff08ed76..9b9271a1 100644 --- a/comedi/rt_pend_tq.c +++ b/comedi/rt_pend_tq.c @@ -1,3 +1,4 @@ +#define __NO_VERSION__ /* rt_pend_tq.c */ #include #include @@ -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; } -- 2.26.2