* [uml-devel] [PATCH 3/4] UML - Update module interface
@ 2005-07-26 20:04 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2005-07-26 20:04 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, user-mode-linux-devel, Dominik Hackl
From: Dominik Hackl <dominik@hackl.dhs.org>
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>
Index: linux-2.6.12/arch/um/drivers/hostaudio_kern.c
===================================================================
--- linux-2.6.12.orig/arch/um/drivers/hostaudio_kern.c 2005-07-19 12:03:09.000000000 -0400
+++ linux-2.6.12/arch/um/drivers/hostaudio_kern.c 2005-07-19 12:09:04.000000000 -0400
@@ -57,10 +57,10 @@
#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
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-26 20:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 20:04 [uml-devel] [PATCH 3/4] UML - Update module interface Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox