mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-25 09:41:47 +08:00
50b8dfe6c2
Instead of using tab for indention, the style defaults to 4 spaces for the sake of compact layout.
14 lines
275 B
C
14 lines
275 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");
|