Commit 1424e504 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] piix: Use refcounted interface when searching for a 450NX

Simple conversion
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a78b464a
...@@ -615,7 +615,7 @@ static void __devinit piix_check_450nx(void) ...@@ -615,7 +615,7 @@ static void __devinit piix_check_450nx(void)
struct pci_dev *pdev = NULL; struct pci_dev *pdev = NULL;
u16 cfg; u16 cfg;
u8 rev; u8 rev;
while((pdev=pci_find_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82454NX, pdev))!=NULL) while((pdev=pci_get_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82454NX, pdev))!=NULL)
{ {
/* Look for 450NX PXB. Check for problem configurations /* Look for 450NX PXB. Check for problem configurations
A PCI quirk checks bit 6 already */ A PCI quirk checks bit 6 already */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment