Commit 401951fc authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: remove usage of pci_for_each_dev() in arch/arm/kernel/bios32.c

parent b4ac7882
......@@ -22,9 +22,9 @@ static int debug_pci;
void pcibios_report_status(u_int status_mask, int warn)
{
struct pci_dev *dev;
struct pci_dev *dev = NULL;
pci_for_each_dev(dev) {
while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
u16 status;
/*
......
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