From bf86b64abf80096e98405f5d3818ec613df77271 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Wed, 10 Aug 2005 02:09:39 +0200 Subject: [PATCH] --- yaml --- r: 7912 b: refs/heads/master c: c9d8073fd2a0bcb5df973654e988282b523cf553 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/parport/parport_pc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0c38fdc78b2d..e6b22f7376ab 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 11f3859b1e85dd408756c72e228cfb5aa7230c87 +refs/heads/master: c9d8073fd2a0bcb5df973654e988282b523cf553 diff --git a/trunk/drivers/parport/parport_pc.c b/trunk/drivers/parport/parport_pc.c index 97f723179f62..1b938bb9be3c 100644 --- a/trunk/drivers/parport/parport_pc.c +++ b/trunk/drivers/parport/parport_pc.c @@ -3010,7 +3010,7 @@ static int __init parport_pc_init_superio (int autoirq, int autodma) struct pci_dev *pdev = NULL; int ret = 0; - while ((pdev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) != NULL) { + for_each_pci_dev(pdev) { id = pci_match_id(parport_pc_pci_tbl, pdev); if (id == NULL || id->driver_data >= last_sio) continue;