[PATCH] Warning cleanup for sound/cs4242.c [test3-7]

From: Rusty Russell (rusty@linuxcare.com.au)
Date: Tue Jul 11 2000 - 02:16:49 EST


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/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:12 EST