commit | c7ea8b51101484bda234b990ead032bf0b364752 | [log] [tgz] |
---|---|---|
author | Cheah Kok Cheong <thrust73@gmail.com> | Tue Dec 06 00:57:28 2016 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Dec 06 10:08:01 2016 +0100 |
tree | 0be85df336530f3344a6ad6bf8ddf832d63cb58f | |
parent | b13db6bf539dce9dd5d0128c42269334e5e2d17e [diff] |
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>