1
0
out-of-tree/examples/kernel-module/module.c

15 lines
167 B
C
Raw Normal View History

2018-10-07 10:48:25 +00:00
#include <linux/module.h>
#include <linux/kernel.h>
int init_module(void)
{
2018-10-07 17:53:07 +00:00
printk("COOKIE!\n");
2018-10-07 10:48:25 +00:00
return 0;
}
void cleanup_module(void)
{
}
MODULE_LICENSE("GPL");