Skip to contentSkip to conversation

Per-device parameter support (9/16)

RFC/PATCH Tejun Heo 1 participant 1 message Oct 23, 2004 Module support

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

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.

include/linux/moduleparam.h +1 -1
Index: linux-devparam-export/include/linux/moduleparam.h
===================================================================
@@ -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