[RFC/PATCH] Per-device parameter support (9/16)

From: Tejun Heo
Date: Sat Oct 23 2004 - 00:28:36 EST


dp_09_module_param_empty_prefix.diff

This is the 9th patch of 16 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-devparam-export/include/linux/moduleparam.h
===================================================================
--- linux-devparam-export.orig/include/linux/moduleparam.h 2004-10-23 11:09:29.000000000 +0900
+++ linux-devparam-export/include/linux/moduleparam.h 2004-10-23 11:09:29.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/