summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/unit-asb2305/pci.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-01-03 15:30:21 -0700
committerBjorn Helgaas <bhelgaas@google.com>2013-01-04 10:57:36 -0700
commit7f0d21f937939d05649b95c2ff34c53f6726d11e (patch)
treed68969bee5edf7c1e1d1f1682571c4457eb18c92 /arch/mn10300/unit-asb2305/pci.c
parentca75e032a51013b5b9de16b7aec3674ce29b544f (diff)
downloadop-kernel-dev-7f0d21f937939d05649b95c2ff34c53f6726d11e.zip
op-kernel-dev-7f0d21f937939d05649b95c2ff34c53f6726d11e.tar.gz
mn10300/PCI: Remove unused pci_root_bus
pci_root_bus is unused, so remove all references to it. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/mn10300/unit-asb2305/pci.c')
-rw-r--r--arch/mn10300/unit-asb2305/pci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mn10300/unit-asb2305/pci.c b/arch/mn10300/unit-asb2305/pci.c
index e205948..426bf51 100644
--- a/arch/mn10300/unit-asb2305/pci.c
+++ b/arch/mn10300/unit-asb2305/pci.c
@@ -24,7 +24,6 @@
unsigned int pci_probe = 1;
int pcibios_last_bus = -1;
-struct pci_bus *pci_root_bus;
struct pci_ops *pci_root_ops;
/*
@@ -377,8 +376,7 @@ static int __init pcibios_init(void)
pci_add_resource_offset(&resources, &pci_ioport_resource, io_offset);
pci_add_resource_offset(&resources, &pci_iomem_resource, mem_offset);
- pci_root_bus = pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL,
- &resources);
+ pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL, &resources);
pcibios_irq_init();
pcibios_fixup_irqs();
OpenPOWER on IntegriCloud