Re: 2.6.9-rc1-mm5 compile errors

From: Anton Blanchard
Date: Mon Sep 13 2004 - 12:37:04 EST



Hi,

> arch/ppc64/kernel/pSeries_pci.c: In function `pcibios_fixup_bus':
> arch/ppc64/kernel/pSeries_pci.c:607: error: redeclaration of `dev'
> arch/ppc64/kernel/pSeries_pci.c:604: error: `dev' previously declared
> here
> arch/ppc64/kernel/pSeries_pci.c:604: warning: unused variable `dev'

I sent this to Andrew earlier.

Anton

diff -puN arch/ppc64/kernel/pSeries_pci.c~fix_pseries arch/ppc64/kernel/pSeries_pci.c
--- 2.6.9-rc1-mm5/arch/ppc64/kernel/pSeries_pci.c~fix_pseries 2004-09-13 19:58:29.941874428 +1000
+++ 2.6.9-rc1-mm5-anton/arch/ppc64/kernel/pSeries_pci.c 2004-09-13 19:59:21.967773089 +1000
@@ -601,7 +601,6 @@ EXPORT_SYMBOL(pcibios_fixup_device_resou
void __devinit pcibios_fixup_bus(struct pci_bus *bus)
{
struct pci_controller *hose = PCI_GET_PHB_PTR(bus);
- struct pci_dev *dev;

/* XXX or bus->parent? */
struct pci_dev *dev = bus->self;
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/