From: David Schleef Date: Mon, 2 Dec 2002 20:03:27 +0000 (+0000) Subject: Fix compilation for rt due to changes in comedidev.h. Fixes #8 X-Git-Tag: r0_7_67x~145 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bb14d4788ca4eb599c9be737a31d77aa728e715d;p=comedi.git Fix compilation for rt due to changes in comedidev.h. Fixes #8 --- 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; }