diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-07-12 12:26:52 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-12 12:41:17 -0400 |
commit | 8ed07a1cce1530d2fd42e23c867a7c0c1170515a (patch) | |
tree | db48568b8760ad9b1f2e7583485d8117387f2d92 /arch/mips | |
parent | 0db34215c7e0ef618e7b29fbf271194ca5434f8e (diff) |
[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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index 8108231f2e20..99d8f4fd3ff4 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c | |||
@@ -269,7 +269,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus) | |||
269 | } | 269 | } |
270 | 270 | ||
271 | for (ln = bus->devices.next; ln != &bus->devices; ln = ln->next) { | 271 | for (ln = bus->devices.next; ln != &bus->devices; ln = ln->next) { |
272 | struct pci_dev *dev = pci_dev_b(ln); | 272 | dev = pci_dev_b(ln); |
273 | 273 | ||
274 | if ((dev->class >> 8) != PCI_CLASS_BRIDGE_PCI) | 274 | if ((dev->class >> 8) != PCI_CLASS_BRIDGE_PCI) |
275 | pcibios_fixup_device_resources(dev, bus); | 275 | pcibios_fixup_device_resources(dev, bus); |