mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-22 11:43:41 +08:00
14 lines
287 B
C
14 lines
287 B
C
|
/*
|
||
|
* stop.c - Illustration of multi filed modules
|
||
|
*/
|
||
|
|
||
|
#include <linux/kernel.h> /* We're doing kernel work */
|
||
|
#include <linux/module.h> /* Specifically, a module */
|
||
|
|
||
|
void cleanup_module()
|
||
|
{
|
||
|
pr_info("Short is the life of a kernel module\n");
|
||
|
}
|
||
|
|
||
|
MODULE_LICENSE("GPL");
|