This commit is contained in:
Ciro Santilli
2017-05-09 19:59:56 +01:00
parent 8eb878c24e
commit 338756a029
9 changed files with 67 additions and 3 deletions

13
hello.c Normal file
View File

@@ -0,0 +1,13 @@
#include <linux/module.h>
#include <linux/kernel.h>
int init_module(void)
{
printk(KERN_INFO "hello init\n");
return 0;
}
void cleanup_module(void)
{
printk(KERN_INFO "hello cleanup\n");
}