summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-11-10 18:05:56 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-11-10 18:05:56 -0800
commita3a67b1f88fb6723d14aa5c7b7b0cffb40b70416 (patch)
treeff91dbacbb510c2308e76fec1960c4a5345df376
parentdc22351073be30bd9a12bddd2cfb7039381a441f (diff)
Re-introduce __MODULE_STRING, since some drivers depend on it.
(Yes, they should probably use __stringify() instead).
-rw-r--r--include/linux/module.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index f59fc3b42ccf..951506b00b23 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -18,6 +18,10 @@
#include <asm/module.h>
#include <asm/uaccess.h> /* For struct exception_table_entry */
+/* Indirect stringification */
+#define __MODULE_STRING_1(x) #x
+#define __MODULE_STRING(x) __MODULE_STRING_1(x)
+
/* Not Yet Implemented */
#define MODULE_LICENSE(name)
#define MODULE_AUTHOR(name)