summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/comedi_fops.h
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2008-11-05 04:29:31 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 21:52:16 (GMT)
commited9eccbe8970f6eedc1b978c157caf1251a896d4 (patch)
tree07ac30d0a81af1f75f7ca40f32926d370d195107 /drivers/staging/comedi/comedi_fops.h
parent535deaa35e534f096843d930a3ba11e36c75f0d5 (diff)
downloadlinux-ed9eccbe8970f6eedc1b978c157caf1251a896d4.tar.xz
Staging: add comedi core
This adds the Comedi core to the staging tree. This is a data acquision infrastructure for Linux, providing a common interface for these types of drivers. Taken directly from the comedi git tree, with only minor tweaks by Greg to get it to build properly within the kernel tree. From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Shawn Bohrer <shawn.bohrer@gmail.com> Signed-off-by: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/comedi_fops.h')
-rw-r--r--drivers/staging/comedi/comedi_fops.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/staging/comedi/comedi_fops.h b/drivers/staging/comedi/comedi_fops.h
new file mode 100644
index 0000000..08a5712
--- /dev/null
+++ b/drivers/staging/comedi/comedi_fops.h
@@ -0,0 +1,8 @@
+
+#ifndef _COMEDI_FOPS_H
+#define _COMEDI_FOPS_H
+
+extern struct class *comedi_class;
+extern const struct file_operations comedi_fops;
+
+#endif //_COMEDI_FOPS_H