patch-2.0.34 linux/drivers/sound/sb_common.c

Next file: linux/fs/Config.in
Previous file: linux/drivers/sound/lowlevel/aci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.33/linux/drivers/sound/sb_common.c linux/drivers/sound/sb_common.c
@@ -261,6 +261,7 @@
   return 1;
 }
 
+#if defined(CONFIG_MIDI) && defined(CONFIG_UART401)
 static void
 sb16_set_mpu_port(sb_devc *devc, struct address_info *hw_config)
 {
@@ -283,6 +284,7 @@
 		printk("SB16: Invalid MIDI I/O port %x\n", hw_config->io_base);
 	}
 }
+#endif
 
 static int
 sb16_set_irq_hw (sb_devc * devc, int level)

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