Messages in this thread Patch in this message | | | Subject | [PATCH 3/4] UML - Update module interface | Date | Tue, 26 Jul 2005 16:04:08 -0400 | From | Jeff Dike <> |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |