[PATCH 2.6.10-rc1 8/15] driver-model: MODULE_PARAM_PREFIX is changed to empty string from nothing

From: Tejun Heo
Date: Thu Nov 04 2004 - 02:16:21 EST


dp_08_module_param_empty_prefix.patch

This is the 8th patch of 15 patches for devparam.

MODULE_PARAM_PREFIX is changed to be "" instead of being empty for
kernel proper. The end result is the same for moduleparam, but it
helps devparam macros.


Signed-off-by: Tejun Heo <tj@xxxxxxxxxxx>


Index: linux-export/include/linux/moduleparam.h
===================================================================
--- linux-export.orig/include/linux/moduleparam.h 2004-11-04 11:04:09.000000000 +0900
+++ linux-export/include/linux/moduleparam.h 2004-11-04 11:04:09.000000000 +0900
@@ -8,7 +8,7 @@
/* You can override this manually, but generally this should match the
module name. */
#ifdef MODULE
-#define MODULE_PARAM_PREFIX /* empty */
+#define MODULE_PARAM_PREFIX ""
#else
#define MODULE_PARAM_PREFIX __stringify(KBUILD_MODNAME) "."
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/