projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ec785
)
added init_module()/cleanup_module()
author
David Schleef
<ds@schleef.org>
Tue, 22 Feb 2000 02:52:55 +0000
(
02:52
+0000)
committer
David Schleef
<ds@schleef.org>
Tue, 22 Feb 2000 02:52:55 +0000
(
02:52
+0000)
comedi/dummy.c
patch
|
blob
|
history
diff --git
a/comedi/dummy.c
b/comedi/dummy.c
index b72874dc1cc0c52a3bf4add42ada564a4871ed76..4283eb76dd7f41d831b64c3f73d4c2edde217287 100644
(file)
--- a/
comedi/dummy.c
+++ b/
comedi/dummy.c
@@
-123,3
+123,20
@@
static int dummy_ao(comedi_device *dev,comedi_subdevice *s,comedi_trig *it)
return 0;
}
+
+#if 0
+#ifdef MODULE
+int init_module(void)
+{
+ comedi_driver_register(&driver_dummy);
+
+ return 0;
+}
+
+void cleanup_module(void)
+{
+ comedi_driver_unregister(&driver_dummy);
+}
+#endif
+#endif
+