mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
[MIPS] Fix a sparse warning in arch/mips/pci/pci.c
Fixes this warning: arch/mips/pci/pci.c:284:18: warning: symbol 'dev' shadows an earlier one arch/mips/pci/pci.c:272:17: originally declared here Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
0db34215c7
commit
8ed07a1cce
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (ln = bus->devices.next; ln != &bus->devices; ln = ln->next) {
|
for (ln = bus->devices.next; ln != &bus->devices; ln = ln->next) {
|
||||||
struct pci_dev *dev = pci_dev_b(ln);
|
dev = pci_dev_b(ln);
|
||||||
|
|
||||||
if ((dev->class >> 8) != PCI_CLASS_BRIDGE_PCI)
|
if ((dev->class >> 8) != PCI_CLASS_BRIDGE_PCI)
|
||||||
pcibios_fixup_device_resources(dev, bus);
|
pcibios_fixup_device_resources(dev, bus);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue