Commit ca75e032 authored by Bjorn Helgaas's avatar Bjorn Helgaas

frv/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 b7869ba1
...@@ -31,7 +31,6 @@ void pcibios_resource_survey(void); ...@@ -31,7 +31,6 @@ void pcibios_resource_survey(void);
/* pci-vdk.c */ /* pci-vdk.c */
extern int __nongpreldata pcibios_last_bus; extern int __nongpreldata pcibios_last_bus;
extern struct pci_bus *__nongpreldata pci_root_bus;
extern struct pci_ops *__nongpreldata pci_root_ops; extern struct pci_ops *__nongpreldata pci_root_ops;
/* pci-irq.c */ /* pci-irq.c */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
unsigned int __nongpreldata pci_probe = 1; unsigned int __nongpreldata pci_probe = 1;
int __nongpreldata pcibios_last_bus = -1; int __nongpreldata pcibios_last_bus = -1;
struct pci_bus *__nongpreldata pci_root_bus;
struct pci_ops *__nongpreldata pci_root_ops; struct pci_ops *__nongpreldata pci_root_ops;
/* /*
...@@ -416,8 +415,7 @@ int __init pcibios_init(void) ...@@ -416,8 +415,7 @@ int __init pcibios_init(void)
printk("PCI: Probing PCI hardware\n"); printk("PCI: Probing PCI hardware\n");
pci_add_resource(&resources, &pci_ioport_resource); pci_add_resource(&resources, &pci_ioport_resource);
pci_add_resource(&resources, &pci_iomem_resource); pci_add_resource(&resources, &pci_iomem_resource);
pci_root_bus = pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, &resources);
&resources);
pcibios_irq_init(); pcibios_irq_init();
pcibios_fixup_peer_bridges(); pcibios_fixup_peer_bridges();
......
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