[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] ISAPnP trivial bug
- From: "emmanuel.colbus@xxxxxxxxxxxxxxx" <colbuse@xxxxxxxxxxxxxxx>
- Date: Wed, 5 Jan 2005 14:24:30 +0100 (MET)
There is a trivial bug in the file sound/isa/gus/interwave.c .
The variable isapnp is defined only if CONFIG_PNP is enabled, but it is
always used few lines after.
This patch, relative to 2.6.10, fixes it.
Regards,
--
Emmanuel Colbus
Club GNU/LINUX
ENSIMAG - Departement Telecommunications
--- a/sound/isa/gus/interwave.c Fri Dec 24 22:34:58 2004
+++ b/sound/isa/gus/interwave.c Wed Jan 5 14:06:53 2005
@@ -79,8 +79,10 @@
MODULE_PARM_DESC(id, "ID string for InterWave soundcard.");
module_param_array(enable, bool, NULL, 0444);
MODULE_PARM_DESC(enable, "Enable InterWave soundcard.");
+#ifdef CONFIG_PNP
module_param_array(isapnp, bool, NULL, 0444);
MODULE_PARM_DESC(isapnp, "ISA PnP detection for specified soundcard.");
+#endif
module_param_array(port, long, NULL, 0444);
MODULE_PARM_DESC(port, "Port # for InterWave driver.");
#ifdef SNDRV_STB