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/stop.c | |
download | lkm-c73b83935734bf0a9b56183a2535dd0daba221fe.tar.gz |
Commit inicial
Diffstat (limited to 'hello/stop.c')
-rw-r--r-- | hello/stop.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hello/stop.c b/hello/stop.c new file mode 100644 index 0000000..46ba9a4 --- /dev/null +++ b/hello/stop.c @@ -0,0 +1,14 @@ +#include <linux/module.h> +#include <linux/kernel.h> +#include <linux/init.h> + +static void __exit hello_2_exit(void) +{ + printk(KERN_INFO "Adiós, mundo! 2\n"); +} + +module_exit(hello_2_exit); + +MODULE_AUTHOR("Guillermo Ramos"); +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("Módulo tonto"); |