Commit 6fdc22ba authored by Ralf Bächle's avatar Ralf Bächle Committed by Linus Torvalds

[PATCH] drivers/pci DEBUG build fix

Trivial build fix for the debug code in drivers PCI.  Seems like nobody
has had to use this code in a long time.
parent f63ca3bc
...@@ -45,7 +45,7 @@ pci_update_resource(struct pci_dev *dev, struct resource *res, int resno) ...@@ -45,7 +45,7 @@ pci_update_resource(struct pci_dev *dev, struct resource *res, int resno)
DBGC((KERN_ERR " got res [%lx:%lx] bus [%lx:%lx] flags %lx for " DBGC((KERN_ERR " got res [%lx:%lx] bus [%lx:%lx] flags %lx for "
"BAR %d of %s\n", res->start, res->end, "BAR %d of %s\n", res->start, res->end,
region.start, region.end, res->flags, region.start, region.end, res->flags,
resno, dev->dev.name)); resno, pci_name(dev)));
new = region.start | (res->flags & PCI_REGION_FLAG_MASK); new = region.start | (res->flags & PCI_REGION_FLAG_MASK);
if (res->flags & IORESOURCE_IO) if (res->flags & IORESOURCE_IO)
......
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