From: Dominik Hackl <[EMAIL PROTECTED]>

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

Signed-off-by: Dominik Hackl <[EMAIL PROTECTED]>
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to