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