The attached small patch is so that a standard gravis ultrasound card
can be used as a module without the daughtercard option compiled in.
-Randy
------
Randy McCaskill
rmccask@comm-data.com ! Poodle... The other white meat
http://www.comm-data.com/~rmccask ! -- Sherman's Lagoon
--------------77862F4F8E509CFEE245AC13
Content-Type: text/plain; charset=us-ascii; name="gus.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="gus.patch"
--- linux-2.1.72/drivers/sound/gus_card.c.old Tue Dec 9 22:43:16 1997
+++ linux-2.1.72/drivers/sound/gus_card.c Tue Dec 9 23:35:02 1997
@@ -259,8 +259,10 @@
void
cleanup_module(void)
{
+#ifdef CONFIG_GUS16
if (db16)
unload_gus_db16(&config);
+#endif
unload_gus(&config);
SOUND_LOCK_END;
}
--------------77862F4F8E509CFEE245AC13--