提交 20a64f1d 编写于 作者: D Dominik Hackl 提交者: Linus Torvalds

[PATCH] uml: update module interface

This patch replaces the deprecated MODULE_PARM function by the new
module_param function.
Signed-off-by: NDominik Hackl <dominik@hackl.dhs.org>
Signed-off-by: NJeff Dike <jdike@addtoit.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 cb66504d
...@@ -57,10 +57,10 @@ __uml_setup("mixer=", set_mixer, "mixer=<mixer device>\n" MIXER_HELP); ...@@ -57,10 +57,10 @@ __uml_setup("mixer=", set_mixer, "mixer=<mixer device>\n" MIXER_HELP);
#else /*MODULE*/ #else /*MODULE*/
MODULE_PARM(dsp, "s"); module_param(dsp, charp, 0644);
MODULE_PARM_DESC(dsp, DSP_HELP); MODULE_PARM_DESC(dsp, DSP_HELP);
MODULE_PARM(mixer, "s"); module_param(mixer, charp, 0644);
MODULE_PARM_DESC(mixer, MIXER_HELP); MODULE_PARM_DESC(mixer, MIXER_HELP);
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册