diff options
-rw-r--r-- | include/linux/module.h | 5 | ||||
-rw-r--r-- | include/linux/moduleparam.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 9f0ddc808a82..3cb7839a60b9 100644 --- a/include/linux/module.h +++ b/include/linux/module.h | |||
@@ -135,11 +135,6 @@ extern const struct gtype##_id __mod_##gtype##_table \ | |||
135 | /* What your module does. */ | 135 | /* What your module does. */ |
136 | #define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description) | 136 | #define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description) |
137 | 137 | ||
138 | /* One for each parameter, describing how to use it. Some files do | ||
139 | multiple of these per line, so can't just use MODULE_INFO. */ | ||
140 | #define MODULE_PARM_DESC(_parm, desc) \ | ||
141 | __MODULE_INFO(parm, _parm, #_parm ":" desc) | ||
142 | |||
143 | #define MODULE_DEVICE_TABLE(type,name) \ | 138 | #define MODULE_DEVICE_TABLE(type,name) \ |
144 | MODULE_GENERIC_TABLE(type##_device,name) | 139 | MODULE_GENERIC_TABLE(type##_device,name) |
145 | 140 | ||
diff --git a/include/linux/moduleparam.h b/include/linux/moduleparam.h index fffb10bd5514..7939f636c8ba 100644 --- a/include/linux/moduleparam.h +++ b/include/linux/moduleparam.h | |||
@@ -31,6 +31,11 @@ static const char __module_cat(name,__LINE__)[] \ | |||
31 | #define __MODULE_PARM_TYPE(name, _type) \ | 31 | #define __MODULE_PARM_TYPE(name, _type) \ |
32 | __MODULE_INFO(parmtype, name##type, #name ":" _type) | 32 | __MODULE_INFO(parmtype, name##type, #name ":" _type) |
33 | 33 | ||
34 | /* One for each parameter, describing how to use it. Some files do | ||
35 | multiple of these per line, so can't just use MODULE_INFO. */ | ||
36 | #define MODULE_PARM_DESC(_parm, desc) \ | ||
37 | __MODULE_INFO(parm, _parm, #_parm ":" desc) | ||
38 | |||
34 | struct kernel_param; | 39 | struct kernel_param; |
35 | 40 | ||
36 | struct kernel_param_ops { | 41 | struct kernel_param_ops { |