2004-10-23 04:31:40

by Tejun Heo

[permalink] [raw]
Subject: [RFC/PATCH] Per-device parameter support (9/16)

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 <[email protected]>


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