[PATCH 3/4] UML - Update module interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux