patch-1.3.81 linux/drivers/sound/sscape.c

Next file: linux/fs/Config.in
Previous file: linux/drivers/sound/soundvers.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.80/linux/drivers/sound/sscape.c linux/drivers/sound/sscape.c
@@ -1196,7 +1196,9 @@
 void
 unload_sscape (struct address_info *hw_config)
 {
+#if (defined(CONFIG_MPU401) || defined(CONFIG_MPU_EMU)) && defined(CONFIG_MIDI)
   unload_mpu401 (hw_config);
+#endif
   snd_release_irq (hw_config->irq);
   sound_free_dma (hw_config->dma);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this