Update of /cvsroot/alsa/alsa-kernel/pci/au88x0
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8140/au88x0

Modified Files:
        au88x0.c 
Log Message:
fix compilation on gcc 2.95.x

Index: au88x0.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/au88x0/au88x0.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- au88x0.c    10 Mar 2004 11:36:32 -0000      1.2
+++ au88x0.c    15 Mar 2004 08:08:41 -0000      1.3
@@ -71,6 +71,8 @@
 static void __devinit snd_vortex_workaround(struct pci_dev *vortex, int fix)
 {
        struct pci_dev *via = NULL;
+       int rc;
+
        /* autodetect if workarounds are required */
        while ((via = pci_find_device(PCI_VENDOR_ID_VIA,
                                      PCI_DEVICE_ID_VIA_8365_1, via))) {
@@ -86,8 +88,6 @@
        if (fix == 255)
                return;
 
-       int rc;
-
        /* fix vortex latency */
        if (fix & 0x01) {
                if (!(rc = pci_write_config_byte(vortex, 0x40, 0xff))) {



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to