Update of /cvsroot/alsa/alsa-driver/acore In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9430
Modified Files: pci_compat_22.c Log Message: fix compilation with gcc 2.95.x Index: pci_compat_22.c =================================================================== RCS file: /cvsroot/alsa/alsa-driver/acore/pci_compat_22.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- pci_compat_22.c 6 Mar 2004 16:55:12 -0000 1.11 +++ pci_compat_22.c 29 Mar 2004 12:23:48 -0000 1.12 @@ -388,12 +388,14 @@ dma_addr_t *dmaaddr) { unsigned long dma_mask; + void *res; + #ifdef CONFIG_PCI dma_mask = snd_pci_compat_get_dma_mask(dev); #else dma_mask = 0xffffff; /* ISA - 16MB */ #endif - void *res = snd_pci_compat_alloc_consistent1(dma_mask, size, 0); + res = snd_pci_compat_alloc_consistent1(dma_mask, size, 0); if (res != NULL) *dmaaddr = (dma_addr_t)virt_to_bus(res); return res; ------------------------------------------------------- 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