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