]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: comedi: kcomedilib: Add module_init/exit function
authorCheah Kok Cheong <thrust73@gmail.com>
Mon, 5 Dec 2016 16:57:28 +0000 (00:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Dec 2016 09:08:01 +0000 (10:08 +0100)
commit9c33f613948e3bc670821f83eb358840f2af9ca9
tree0be85df336530f3344a6ad6bf8ddf832d63cb58f
parentdaa7a249899988b993bd482bf271b9760f24484c
Staging: comedi: kcomedilib: Add module_init/exit function

Add init/exit function to follow LKM semantics.
Apparently this module can still load/unload without
the init/exit function.

Tested loading/unloading with and without this patch.

Signed-off-by: Cheah Kok Cheong <thrust73@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/kcomedilib/kcomedilib_main.c