From: Ian Abbott Date: Sat, 12 Apr 2008 20:12:42 +0000 (+0000) Subject: Oops, I forgot the module init and exit functions! X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=829bec51cf63d7094e7c5ccb9f6b4357c1ed1d78;p=comedi.git Oops, I forgot the module init and exit functions! --- diff --git a/comedi/drivers/ni_tiocmd.c b/comedi/drivers/ni_tiocmd.c index 408a6838..e4cc5c59 100644 --- a/comedi/drivers/ni_tiocmd.c +++ b/comedi/drivers/ni_tiocmd.c @@ -502,6 +502,19 @@ void ni_tio_set_mite_channel(struct ni_gpct *counter, comedi_spin_unlock_irqrestore(&counter->lock, flags); } +static int __init ni_tiocmd_init_module(void) +{ + return 0; +} + +module_init(ni_tiocmd_init_module); + +static void __exit ni_tiocmd_cleanup_module(void) +{ +} + +module_exit(ni_tiocmd_cleanup_module); + EXPORT_SYMBOL_GPL(ni_tio_cmd); EXPORT_SYMBOL_GPL(ni_tio_cmdtest); EXPORT_SYMBOL_GPL(ni_tio_cancel);