Update of /cvsroot/alsa/alsa-kernel/isa/gus
In directory sc8-pr-cvs1:/tmp/cvs-serv5339/isa/gus

Modified Files:
        gus_main.c 
Log Message:
Fixed module/solid kernel #ifdef tests

Index: gus_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/gus/gus_main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- gus_main.c  19 Dec 2002 15:59:18 -0000      1.12
+++ gus_main.c  21 Jun 2003 07:52:37 -0000      1.13
@@ -106,7 +106,7 @@
 {
        if (gus->gf1.res_port2 == NULL)
                goto __hw_end;
-#if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)
+#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && 
defined(CONFIG_SND_SEQUENCER_MODULE))
        if (gus->seq_dev) {
                snd_device_free(gus->card, gus->seq_dev);
                gus->seq_dev = NULL;
@@ -434,7 +434,7 @@
        }
        if ((err = snd_gus_init_dma_irq(gus, 1)) < 0)
                return err;
-#if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)
+#if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && 
defined(CONFIG_SND_SEQUENCER_MODULE))
        if (snd_seq_device_new(gus->card, 1, SNDRV_SEQ_DEV_ID_GUS,
                               sizeof(snd_gus_card_t*), &gus->seq_dev) >= 0) {
                strcpy(gus->seq_dev->name, "GUS");



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to