projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb66504
)
[PATCH] uml: update module interface
author
Dominik Hackl
<dominik@hackl.dhs.org>
Wed, 27 Jul 2005 18:43:32 +0000
(11:43 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:25:48 +0000
(16:25 -0700)
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>
arch/um/drivers/hostaudio_kern.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/um/drivers/hostaudio_kern.c
b/arch/um/drivers/hostaudio_kern.c
index d5742783e19dd91c82857f7d55bd64b5a03b7a49..59602b81b2402be669fe264eee5f9afb2999565a 100644
(file)
--- 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