summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorDominik Hackl <dominik@hackl.dhs.org>2005-07-27 11:43:32 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 16:25:48 -0700
commit20a64f1d70a1a9cc001f2fec5ba1b0a4ff3f6bd5 (patch)
tree63e2a55c3800911c2de8900e29d73b1ff9e68a5c /arch/um/drivers
parentcb66504d65e54210d7dc55a0027d309ca5f51f83 (diff)
downloadop-kernel-dev-20a64f1d70a1a9cc001f2fec5ba1b0a4ff3f6bd5.zip
op-kernel-dev-20a64f1d70a1a9cc001f2fec5ba1b0a4ff3f6bd5.tar.gz
[PATCH] uml: update module interface
This patch replaces the deprecated MODULE_PARM function by the new module_param function. Signed-off-by: Dominik Hackl <dominik@hackl.dhs.org> Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/drivers')
-rw-r--r--arch/um/drivers/hostaudio_kern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c
index d574278..59602b8 100644
--- a/arch/um/drivers/hostaudio_kern.c
+++ b/arch/um/drivers/hostaudio_kern.c
@@ -57,10 +57,10 @@ __uml_setup("mixer=", set_mixer, "mixer=<mixer device>\n" MIXER_HELP);
#else /*MODULE*/
-MODULE_PARM(dsp, "s");
+module_param(dsp, charp, 0644);
MODULE_PARM_DESC(dsp, DSP_HELP);
-MODULE_PARM(mixer, "s");
+module_param(mixer, charp, 0644);
MODULE_PARM_DESC(mixer, MIXER_HELP);
#endif
OpenPOWER on IntegriCloud