Re: ad1848 module never unloads.

Myrdraal (myrdraal@jackalz.dyn.ml.org)
Tue, 24 Mar 1998 03:45:30 -0500


--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii

Hi,
After poking around in drivers/sound/ad1848.c for a bit, I noticed an
MOD_INC_USE_COUNT in it. If I remove that, the modules will happily
load/unload and show the correct amount of "users". Everything seems
to be working fine, is there some reason why that should be actually
be there? Attached is a patch removing it relative to 2.1.90/2.1.91pre1.
-Myrdraal

--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ad1848-2.1.90.diff"

--- linux/drivers/sound/ad1848.c Wed Mar 18 03:36:22 1998
+++ linux-2.1.91/drivers/sound/ad1848.c Tue Mar 24 03:38:53 1998
@@ -1843,7 +1843,6 @@
{
audio_devs[my_dev]->mixer_dev = e;
}
- MOD_INC_USE_COUNT;
return my_dev;
}

--fUYQa+Pmc3FrFX/N--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu