diff options
author | 0xwille | 2011-06-24 13:57:37 +0200 |
---|---|---|
committer | 0xwille | 2011-06-24 13:57:37 +0200 |
commit | c73b83935734bf0a9b56183a2535dd0daba221fe (patch) | |
tree | 17962f67c24fcee8bd0ff292332365294cc366b7 /hello/hello-1.c | |
download | lkm-c73b83935734bf0a9b56183a2535dd0daba221fe.tar.gz |
Commit inicial
Diffstat (limited to 'hello/hello-1.c')
-rw-r--r-- | hello/hello-1.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hello/hello-1.c b/hello/hello-1.c new file mode 100644 index 0000000..aa434a9 --- /dev/null +++ b/hello/hello-1.c @@ -0,0 +1,13 @@ +#include <linux/module.h> +#include <linux/kernel.h> + +int init_module(void) +{ + printk(KERN_INFO "Hola, mundo! 1\n"); + return 0; +} + +void cleanup_module(void) +{ + printk(KERN_INFO "Adiós, mundo! 1\n"); +} |