]> git.karo-electronics.de Git - linux-beck.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)
commitc7ea8b51101484bda234b990ead032bf0b364752
tree0be85df336530f3344a6ad6bf8ddf832d63cb58f
parentb13db6bf539dce9dd5d0128c42269334e5e2d17e
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