Update of /cvsroot/alsa/alsa-kernel/core/seq/oss
In directory usw-pr-cvs1:/tmp/cvs-serv13162a/seq/oss
Modified Files:
seq_oss_synth.c
Log Message:
Compilation fixes when CONFIG_PROC_FS is not defined
Index: seq_oss_synth.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/oss/seq_oss_synth.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- seq_oss_synth.c 25 Sep 2002 17:34:09 -0000 1.9
+++ seq_oss_synth.c 13 Oct 2002 19:18:36 -0000 1.10
@@ -146,8 +146,10 @@
debug_printk(("synth %s registered %d\n", rec->name, i));
spin_unlock_irqrestore(®ister_lock, flags);
dev->driver_data = rec;
+#ifdef SNDRV_OSS_INFO_DEV_SYNTH
if (i < SNDRV_CARDS)
snd_oss_info_register(SNDRV_OSS_INFO_DEV_SYNTH, i, rec->name);
+#endif
return 0;
}
@@ -178,8 +180,10 @@
max_synth_devs = index + 1;
}
spin_unlock_irqrestore(®ister_lock, flags);
+#ifdef SNDRV_OSS_INFO_DEV_SYNTH
if (rec->seq_device < SNDRV_CARDS)
snd_oss_info_unregister(SNDRV_OSS_INFO_DEV_SYNTH, rec->seq_device);
+#endif
snd_use_lock_sync(&rec->use_lock);
kfree(rec);
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog