From: Jaroslav Kysela Date: Mon, 15 Mar 2004 12:07:56 +0000 (+0100) Subject: ALSA CVS update - Clemens Ladisch X-Git-Tag: v2.6.5-rc1~17^2~3 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=83cb5db956c79dee61d0a4489928f1eb5954f058;p=history.git ALSA CVS update - Clemens Ladisch au88x0 driver fix compilation on gcc 2.95.x --- diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index c70c076ad36c..6c917f693019 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c @@ -71,6 +71,8 @@ MODULE_DEVICE_TABLE(pci, snd_vortex_ids); 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 @@ static void __devinit snd_vortex_workaround(struct pci_dev *vortex, int fix) if (fix == 255) return; - int rc; - /* fix vortex latency */ if (fix & 0x01) { if (!(rc = pci_write_config_byte(vortex, 0x40, 0xff))) {