From: David Schleef Date: Tue, 22 Feb 2000 02:52:55 +0000 (+0000) Subject: added init_module()/cleanup_module() X-Git-Tag: r0_7_40~38 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bdd5e89a4248e17634120aae66f0e2ee0d74f83f;p=comedi.git added init_module()/cleanup_module() --- diff --git a/comedi/dummy.c b/comedi/dummy.c index b72874dc..4283eb76 100644 --- 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 +