projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e108c2f
)
Add error to check if included directly
author
David Schleef
<ds@schleef.org>
Mon, 13 Aug 2001 10:26:57 +0000
(10:26 +0000)
committer
David Schleef
<ds@schleef.org>
Mon, 13 Aug 2001 10:26:57 +0000
(10:26 +0000)
include/linux/comedi_rt.h
patch
|
blob
|
history
diff --git
a/include/linux/comedi_rt.h
b/include/linux/comedi_rt.h
index 5d4a030c0b8baa3b2b42c36923d54bdd20b4a32c..bcea825c8e99105fcd0a22e32ccdfee0603f0574 100644
(file)
--- a/
include/linux/comedi_rt.h
+++ b/
include/linux/comedi_rt.h
@@
-24,6
+24,10
@@
#ifndef _COMEDI_RT_H
#define _COMEDI_RT_H
+#ifndef _COMEDIDEV_H
+#error comedi_rt.h should only be included by comedidev.h
+#endif
+
#include <linux/version.h>
#include <linux/config.h>
#include <linux/kdev_t.h>
@@
-31,7
+35,6
@@
#include <linux/malloc.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
-#include <linux/comedidev.h>
#ifdef CONFIG_COMEDI_RT