From bdd5e89a4248e17634120aae66f0e2ee0d74f83f Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 22 Feb 2000 02:52:55 +0000 Subject: [PATCH] added init_module()/cleanup_module() --- comedi/dummy.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 + -- 2.26.2