From c73b83935734bf0a9b56183a2535dd0daba221fe Mon Sep 17 00:00:00 2001 From: 0xwille Date: Fri, 24 Jun 2011 13:57:37 +0200 Subject: Commit inicial --- hello/hello-2.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hello/hello-2.c (limited to 'hello/hello-2.c') diff --git a/hello/hello-2.c b/hello/hello-2.c new file mode 100644 index 0000000..5819e38 --- /dev/null +++ b/hello/hello-2.c @@ -0,0 +1,21 @@ +#include +#include +#include + +static int __init hello_2_init(void) +{ + printk(KERN_INFO "Hola, mundo! 2\n"); + return 0; +} + +static void __exit hello_2_exit(void) +{ + printk(KERN_INFO "Adiós, mundo! 2\n"); +} + +module_init(hello_2_init); +module_exit(hello_2_exit); + +MODULE_AUTHOR("Guillermo Ramos"); +MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("Módulo tonto"); -- cgit v1.2.3