Update of /cvsroot/alsa/alsa-kernel/core In directory sc8-pr-cvs1:/tmp/cvs-serv9757/core
Modified Files: memalloc.c Log Message: Sync with the 2.5 kernel tree Index: memalloc.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/memalloc.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- memalloc.c 31 May 2003 11:09:10 -0000 1.11 +++ memalloc.c 6 Jun 2003 11:54:27 -0000 1.12 @@ -823,12 +823,12 @@ static void __init preallocate_cards(void) { - struct pci_dev *pci; + struct pci_dev *pci = NULL; int card; card = 0; - pci_for_each_dev(pci) { + while ((pci = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pci)) != NULL) { struct prealloc_dev *dev; if (card >= SNDRV_CARDS) break; ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog