// SPDX-License-Identifier: GPL-2.0 /* hello.c */ #include #include #include static int __init hello_init(void) { pr_alert("Good morrow to this fair assembly.\n"); return 0; } static void __exit hello_exit(void) { pr_alert("Alas, poor world, what treasure hast thou lost!\n"); } module_init(hello_init); module_exit(hello_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Greeting module"); MODULE_AUTHOR("William Shakespeare");