patch-2.1.75 linux/drivers/sound/gus_card.c

Next file: linux/drivers/sound/gus_wave.c
Previous file: linux/drivers/sound/dmabuf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.74/linux/drivers/sound/gus_card.c linux/drivers/sound/gus_card.c
@@ -259,8 +259,10 @@
 void
 cleanup_module(void)
 {
+#if defined(CONFIG_GUS16)
 	if (db16)
 		unload_gus_db16(&config);
+#endif
 	unload_gus(&config);
 	SOUND_LOCK_END;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov