Commit 55fcd1d2 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent f85038ec
...@@ -251,10 +251,10 @@ int __nomods_init pcibios_enable_device (struct pci_dev *dev, int mask) ...@@ -251,10 +251,10 @@ int __nomods_init pcibios_enable_device (struct pci_dev *dev, int mask)
/* Resource allocation. */ /* Resource allocation. */
static void __devinit pcibios_assign_resources (void) static void __devinit pcibios_assign_resources (void)
{ {
struct pci_dev *dev; struct pci_dev *dev = NULL;
struct resource *r; struct resource *r;
pci_for_each_dev (dev) { while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
unsigned di_num; unsigned di_num;
unsigned class = dev->class >> 8; unsigned class = dev->class >> 8;
......
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