Messages in this thread Patch in this message | | | Date | Tue, 24 Mar 1998 03:45:30 -0500 | From | Myrdraal <> | Subject | Re: ad1848 module never unloads. |
| |
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 --- 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; } | |