From 829bec51cf63d7094e7c5ccb9f6b4357c1ed1d78 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Sat, 12 Apr 2008 20:12:42 +0000 Subject: [PATCH] Oops, I forgot the module init and exit functions! --- comedi/drivers/ni_tiocmd.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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); -- 2.26.2