From e78359ddd9c4c039f9090a0f52d4d793f78ba342 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 4 May 2001 23:32:28 +0000 Subject: [PATCH] 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. --- comedi/comedi_fops.c | 2 +- comedi/rt_pend_tq/rt_pend_tq.c | 2 +- include/linux/comedi_rt.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.26.2