aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/piix.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-10-01 02:27:28 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 03:39:20 -0400
commit1424e5044882f92b8c51540033b229723e1f2651 (patch)
tree59cb71ecaab44b7de4647ad75e6510c100e436d6 /drivers/ide/pci/piix.c
parenta78b464a283e55feb286647d9662f5cb8f235500 (diff)
[PATCH] piix: Use refcounted interface when searching for a 450NX
Simple conversion Signed-off-by: Alan Cox <alan@redhat.com> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ide/pci/piix.c')
-rw-r--r--drivers/ide/pci/piix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c
index 50332ddd5ddb..eb5bab1890cd 100644
--- a/drivers/ide/pci/piix.c
+++ b/drivers/ide/pci/piix.c
@@ -615,7 +615,7 @@ static void __devinit piix_check_450nx(void)
615 struct pci_dev *pdev = NULL; 615 struct pci_dev *pdev = NULL;
616 u16 cfg; 616 u16 cfg;
617 u8 rev; 617 u8 rev;
618 while((pdev=pci_find_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82454NX, pdev))!=NULL) 618 while((pdev=pci_get_device(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82454NX, pdev))!=NULL)
619 { 619 {
620 /* Look for 450NX PXB. Check for problem configurations 620 /* Look for 450NX PXB. Check for problem configurations
621 A PCI quirk checks bit 6 already */ 621 A PCI quirk checks bit 6 already */