Commit 17a423a5 authored by Paul Mackerras's avatar Paul Mackerras Committed by Linus Torvalds

[PATCH] ppc64: pSeries_pci.c use for_each_pci_dev()

This patch is from Hanna Linder.

As pci_find_device is going away using the new for_each_pci_dev macro.
Signed-off-by: default avatarHanna Linder <hannal@us.ibm.com>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c626ff55
...@@ -548,7 +548,7 @@ void __init pSeries_final_fixup(void) ...@@ -548,7 +548,7 @@ void __init pSeries_final_fixup(void)
check_s7a(); check_s7a();
while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { for_each_pci_dev(dev) {
pci_read_irq_line(dev); pci_read_irq_line(dev);
if (s7a_workaround) { if (s7a_workaround) {
if (dev->irq > 16) { if (dev->irq > 16) {
......
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