sound/core/ remove pci_find_{device, subsys}
Subsystems (2)
PATCH 15/18 sound/core/ remove pci_find_{device, subsys}
Remove deprecated pci_find_device and pci_find_subsys
Do consider applying.
Signed-off-by Amit Gud <[email protected]>
sound/core/memalloc.c +1 -1
@@ -552,7 +552,7 @@ static void __init preallocate_cards(voi card =0 ; -while ((pci =pci_find_device (PCI_ANY_ID ,PCI_ANY_ID , pci)) !=NULL ) { +while ((pci =pci_get_device (PCI_ANY_ID ,PCI_ANY_ID , pci)) !=NULL ) {struct prealloc_dev *dev;unsigned int i;if (card >=SNDRV_CARDS )
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 11 lines · Amit Gud
Remove deprecated
pci_find_deviceandpci_find_subsysDo consider applying.
Signed-off-by Amit Gud <[email protected]>diff -uprN
orig/sound/core/memalloc.clinux-2.6.11-rc3/sound/core/memalloc.c
sound/core/memalloc.c static void __init preallocate_cards(voi · line 558
Quoted 8 lines
sound/core/memalloc.c +1
-1@@ -552,7 +552,7 @@ static void __init preallocate_cards(voi card =0 ; -while ((pci =pci_find_device (PCI_ANY_ID ,PCI_ANY_ID , pci)) !=NULL ) { +while ((pci =pci_get_device (PCI_ANY_ID ,PCI_ANY_ID , pci)) !=NULL ) {struct prealloc_dev *dev;unsigned int i;if (card >=SNDRV_CARDS )
No, please do not apply this, it is incorrect.
thanks,
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors