aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-27 01:19:08 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 02:58:34 -0400
commitbf440b712d289b157c72f19b389b8d918a8c8c5c (patch)
tree0d5691906049781e17fd3c2ae0a420e6b37443e0
parent5531e41bf41b5bc34e3cb57af89b58a24fc0dd8d (diff)
[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)
768 if (phb == NULL) 768 if (phb == NULL)
769 continue; 769 continue;
770 770
771 phb->pci_mem_offset = phb->local_number = bus; 771 phb->pci_mem_offset = bus;
772 phb->first_busno = bus; 772 phb->first_busno = bus;
773 phb->last_busno = bus; 773 phb->last_busno = bus;
774 phb->ops = &iSeries_pci_ops; 774 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 {
146 struct resource io_resource; 146 struct resource io_resource;
147 struct resource mem_resources[3]; 147 struct resource mem_resources[3];
148 int global_number; 148 int global_number;
149 int local_number;
150 unsigned long buid; 149 unsigned long buid;
151 unsigned long dma_window_base_cur; 150 unsigned long dma_window_base_cur;
152 unsigned long dma_window_size; 151 unsigned long dma_window_size;