Skip to contentSkip to conversation

UML - Update module interface

PATCH New Jeff Dike 1 participant 1 message Jul 26, 2005 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 3/4 UML - Update module interface

From: Dominik Hackl <[email protected]>

This patch replaces the deprecated MODULE_PARM function by the new module_param function.

arch/um/drivers/hostaudio_kern.c +2 -2
Index: linux-2.6.12/arch/um/drivers/hostaudio_kern.c
===================================================================
@@ -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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel