From: Frank Mori Hess Date: Fri, 4 May 2001 23:32:28 +0000 (+0000) Subject: restored include of comedidev.h from comedi_rt.h so that spin locks can be used throu... X-Git-Tag: r0_7_59~74 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e78359ddd9c4c039f9090a0f52d4d793f78ba342;p=comedi.git restored include of comedidev.h from comedi_rt.h so that spin locks can be used through including comedi_rt.h instead of having to go through comedidev.h. This include was originally removed due to circular dependence between comedidev.h and comedi_rt.h but they're just header files so it doesn't seem to matter. --- diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index 8cfe420e..8b7b8814 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -23,7 +23,7 @@ #undef DEBUG -#include +#include #define __NO_VERSION__ #include diff --git a/comedi/rt_pend_tq/rt_pend_tq.c b/comedi/rt_pend_tq/rt_pend_tq.c index ff08ed76..c670e76d 100644 --- a/comedi/rt_pend_tq/rt_pend_tq.c +++ b/comedi/rt_pend_tq/rt_pend_tq.c @@ -2,7 +2,7 @@ #include #include #include -#include // for rt spinlocks +#include // for rt spinlocks #include "rt_pend_tq.h" #ifdef CONFIG_COMEDI_RTAI #include diff --git a/include/linux/comedi_rt.h b/include/linux/comedi_rt.h index d4208170..64225872 100644 --- a/include/linux/comedi_rt.h +++ b/include/linux/comedi_rt.h @@ -31,6 +31,7 @@ #include #include #include +#include "comedidev.h" #ifdef CONFIG_COMEDI_RT