summaryrefslogtreecommitdiff
path: root/hello/stop.c
diff options
context:
space:
mode:
author0xwille2011-06-24 13:57:37 +0200
committer0xwille2011-06-24 13:57:37 +0200
commitc73b83935734bf0a9b56183a2535dd0daba221fe (patch)
tree17962f67c24fcee8bd0ff292332365294cc366b7 /hello/stop.c
downloadlkm-c73b83935734bf0a9b56183a2535dd0daba221fe.tar.gz
Commit inicial
Diffstat (limited to 'hello/stop.c')
-rw-r--r--hello/stop.c14
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");