The correct patch is to module.h. MODULE_LICENSE was added to
2.2.21-pre* as a compatibility patch but was incomplete.
Index: 21-pre4.1/include/linux/module.h
--- 21-pre4.1/include/linux/module.h Thu, 03 Jan 2002 20:12:00 +1100 kaos (linux-2.2/F/51_module.h 1.1.7.2.3.2 644)
+++ 21-pre4.1(w)/include/linux/module.h Sun, 10 Mar 2002 12:29:09 +1100 kaos (linux-2.2/F/51_module.h 1.1.7.2.3.2 644)
@@ -181,6 +181,7 @@ const char __module_device[] __attribute
s string
*/
+/* Dummy macro for 2.2/2.4 compatibility */
#define MODULE_LICENSE(var)
#define MODULE_PARM(var,type) \
@@ -221,6 +222,7 @@ const char __module_using_checksums[] __
#define MODULE_AUTHOR(name)
#define MODULE_DESCRIPTION(desc)
#define MODULE_SUPPORTED_DEVICE(name)
+#define MODULE_LICENSE(var)
#define MODULE_PARM(var,type)
#define MODULE_PARM_DESC(var,desc)
#define THIS_MODULE NULL
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/