added init_module()/cleanup_module()
authorDavid Schleef <ds@schleef.org>
Tue, 22 Feb 2000 02:52:55 +0000 (02:52 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 22 Feb 2000 02:52:55 +0000 (02:52 +0000)
comedi/dummy.c

index b72874dc1cc0c52a3bf4add42ada564a4871ed76..4283eb76dd7f41d831b64c3f73d4c2edde217287 100644 (file)
@@ -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
+