Commit 58159ba8 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: remove usage of pci_for_each_dev() in drivers/char/watchdog/amd7xx_tco.c

parent eb2dca9d
......@@ -309,7 +309,8 @@ static int __init amdtco_init(void)
sema_init(&open_sem, 1);
spin_lock_init(&amdtco_lock);
pci_for_each_dev(dev) {
dev = NULL;
while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
if (pci_match_device (amdtco_pci_tbl, dev) != NULL)
goto found_one;
}
......
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