]> code.ossystems Code Review - openembedded-core.git/commit
hello-mod/hello.c: convert to module_init/module_exit
authorTrevor Woerner <twoerner@gmail.com>
Wed, 15 Sep 2021 00:38:03 +0000 (20:38 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Sep 2021 08:48:38 +0000 (09:48 +0100)
commitdd0cf45cdde7a197293322436957566e9a11a506
tree30e7d6d91b9f1e757ed7a99027d67434af15f393
parentf58d54b31a1ddb4e60eb07365bfb7dfe78ed56af
hello-mod/hello.c: convert to module_init/module_exit

Switch away from the old init_module/cleanup_module function names for the
main entry points. Change them to the documented method with module_init()
and module_exit() markers next to static functions.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-skeleton/recipes-kernel/hello-mod/files/hello.c