2021-07-22 06:35:24 +08:00
|
|
|
/*
|
2021-08-08 01:24:59 +08:00
|
|
|
* stop.c - Illustration of multi filed modules
|
2021-07-22 06:35:24 +08:00
|
|
|
*/
|
|
|
|
|
2021-08-08 01:24:59 +08:00
|
|
|
#include <linux/kernel.h> /* We are doing kernel work */
|
2021-07-22 06:58:13 +08:00
|
|
|
#include <linux/module.h> /* Specifically, a module */
|
2021-07-22 06:35:24 +08:00
|
|
|
|
2021-09-04 17:53:29 +08:00
|
|
|
void cleanup_module(void)
|
2021-07-22 06:35:24 +08:00
|
|
|
{
|
|
|
|
pr_info("Short is the life of a kernel module\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
MODULE_LICENSE("GPL");
|