summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-27 00:19:08 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 01:58:34 -0500
commitbf440b712d289b157c72f19b389b8d918a8c8c5c (patch)
tree0d5691906049781e17fd3c2ae0a420e6b37443e0
parent5531e41bf41b5bc34e3cb57af89b58a24fc0dd8d (diff)
downloadlinux-bf440b712d289b157c72f19b389b8d918a8c8c5c.tar.bz2
[POWERPC] Remove local_number from pci_controller
We never actually read local_number so lets just remove it. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/powerpc/platforms/iseries/pci.c2
-rw-r--r--include/asm-powerpc/pci-bridge.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c
index 23d876211874..da87162000f0 100644
--- a/arch/powerpc/platforms/iseries/pci.c
+++ b/arch/powerpc/platforms/iseries/pci.c
@@ -768,7 +768,7 @@ void __init iSeries_pcibios_init(void)
if (phb == NULL)
continue;
- phb->pci_mem_offset = phb->local_number = bus;
+ phb->pci_mem_offset = bus;
phb->first_busno = bus;
phb->last_busno = bus;
phb->ops = &iSeries_pci_ops;
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h
index b0325931c324..229ead98ed12 100644
--- a/include/asm-powerpc/pci-bridge.h
+++ b/include/asm-powerpc/pci-bridge.h
@@ -146,7 +146,6 @@ struct pci_controller {
struct resource io_resource;
struct resource mem_resources[3];
int global_number;
- int local_number;
unsigned long buid;
unsigned long dma_window_base_cur;
unsigned long dma_window_size;