Commit 7f0d21f9 authored by Bjorn Helgaas's avatar Bjorn Helgaas

mn10300/PCI: Remove unused pci_root_bus

pci_root_bus is unused, so remove all references to it.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent ca75e032
...@@ -36,7 +36,6 @@ extern void pcibios_resource_survey(void); ...@@ -36,7 +36,6 @@ extern void pcibios_resource_survey(void);
/* pci.c */ /* pci.c */
extern int pcibios_last_bus; extern int pcibios_last_bus;
extern struct pci_bus *pci_root_bus;
extern struct pci_ops *pci_root_ops; extern struct pci_ops *pci_root_ops;
extern struct irq_routing_table *pcibios_get_irq_routing_table(void); extern struct irq_routing_table *pcibios_get_irq_routing_table(void);
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
unsigned int pci_probe = 1; unsigned int pci_probe = 1;
int pcibios_last_bus = -1; int pcibios_last_bus = -1;
struct pci_bus *pci_root_bus;
struct pci_ops *pci_root_ops; struct pci_ops *pci_root_ops;
/* /*
...@@ -377,8 +376,7 @@ static int __init pcibios_init(void) ...@@ -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_ioport_resource, io_offset);
pci_add_resource_offset(&resources, &pci_iomem_resource, mem_offset); pci_add_resource_offset(&resources, &pci_iomem_resource, mem_offset);
pci_root_bus = pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL, pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL, &resources);
&resources);
pcibios_irq_init(); pcibios_irq_init();
pcibios_fixup_irqs(); pcibios_fixup_irqs();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment