Messages in this thread Patch in this message | | | From | Rusty Russell <> | Subject | [PATCH] Warning cleanup for sound/cs4242.c [test3-7] | Date | Tue, 11 Jul 2000 17:16:49 +1000 |
| |
This removes the `unused variable' warning, and also removes the `synthirq' module parameter when not relevent.
Rusty. diff -urN -X /tmp/fileZ910DB --minimal linux-2.4.0-test3-7/drivers/sound/cs4232.c working-2.4.0-test3-7/drivers/sound/cs4232.c --- linux-2.4.0-test3-7/drivers/sound/cs4232.c Thu Jun 29 01:25:58 2000 +++ working-2.4.0-test3-7/drivers/sound/cs4232.c Mon Jul 10 21:23:41 2000 @@ -316,7 +316,9 @@ static int __initdata mpuio = -1; static int __initdata mpuirq = -1; static int __initdata synthio = -1; +#ifdef CONFIG_SOUND_WAVEFRONT_MODULE static int __initdata synthirq = -1; +#endif MODULE_PARM(io,"i"); @@ -326,7 +328,9 @@ MODULE_PARM(mpuio,"i"); MODULE_PARM(mpuirq,"i"); MODULE_PARM(synthio,"i"); +#ifdef CONFIG_SOUND_WAVEFRONT_MODULE MODULE_PARM(synthirq,"i"); +#endif /* * Install a CS4232 based card. Need to have ad1848 and mpu401 -- Hacking time.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |