[PATCH][2.5] opl3 OSS emulation compile fixes

From: Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Date: Thu May 09 2002 - 07:21:32 EST


Not so sure wether the ifeq change is what you want though...

--- linux-2.5/sound/drivers/opl3/Makefile.orig Thu May 9 12:38:42 2002
+++ linux-2.5/sound/drivers/opl3/Makefile Thu May 9 12:39:20 2002
@@ -9,7 +9,7 @@
 
 snd-opl3-lib-objs := opl3_lib.o opl3_synth.o
 snd-opl3-synth-objs := opl3_seq.o opl3_midi.o opl3_drums.o
-ifeq ($(subst m,y,$(CONFIG_SND_SEQUENCER)),y)
+ifeq ($(subst m,y,$(CONFIG_SND_OSSEMUL)),y)
 snd-opl3-synth-objs += opl3_oss.o
 endif
 
--- linux-2.5/include/sound/opl3.h.orig Thu May 9 12:34:10 2002
+++ linux-2.5/include/sound/opl3.h Thu May 9 12:34:18 2002
@@ -287,8 +287,10 @@
         snd_seq_device_t *seq_dev; /* sequencer device */
         snd_midi_channel_set_t * chset;
 
+#ifdef CONFIG_SND_OSSEMUL
         snd_seq_device_t *oss_seq_dev; /* OSS sequencer device, WIP */
         snd_midi_channel_set_t * oss_chset;
+#endif
  
         snd_seq_kinstr_ops_t fm_ops;
         snd_seq_kinstr_list_t *ilist;

-- 
http://function.linuxpower.ca
		

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:11 EST