Added more descriptive module macros. v1.4.0
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 6 Dec 2009 01:10:37 +0000 (23:10 -0200)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 6 Dec 2009 01:10:37 +0000 (23:10 -0200)
hello.c

diff --git a/hello.c b/hello.c
index 772a1e3..dca8626 100644 (file)
--- a/hello.c
+++ b/hello.c
@@ -1,6 +1,12 @@
 /* Must be included by every module. */
 #include <linux/module.h>
 
+/* Author name comes here. */
+MODULE_AUTHOR("Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>");
+/* Tell a user what this modules does. */
+MODULE_DESCRIPTION("Prints a friendly message.");
+/* Which version is this? */
+MODULE_VERSION("1.4.0");
 /* Should be declared to not taint the kernel. */
 MODULE_LICENSE("GPL");