aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mn10300/unit-asb2305/pci-asb2305.h1
-rw-r--r--arch/mn10300/unit-asb2305/pci.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/mn10300/unit-asb2305/pci-asb2305.h b/arch/mn10300/unit-asb2305/pci-asb2305.h
index 1194fe486b01..7fa66a0e4624 100644
--- a/arch/mn10300/unit-asb2305/pci-asb2305.h
+++ b/arch/mn10300/unit-asb2305/pci-asb2305.h
@@ -36,7 +36,6 @@ extern void pcibios_resource_survey(void);
36/* pci.c */ 36/* pci.c */
37 37
38extern int pcibios_last_bus; 38extern int pcibios_last_bus;
39extern struct pci_bus *pci_root_bus;
40extern struct pci_ops *pci_root_ops; 39extern struct pci_ops *pci_root_ops;
41 40
42extern struct irq_routing_table *pcibios_get_irq_routing_table(void); 41extern struct irq_routing_table *pcibios_get_irq_routing_table(void);
diff --git a/arch/mn10300/unit-asb2305/pci.c b/arch/mn10300/unit-asb2305/pci.c
index e2059486d3f8..426bf51605f3 100644
--- a/arch/mn10300/unit-asb2305/pci.c
+++ b/arch/mn10300/unit-asb2305/pci.c
@@ -24,7 +24,6 @@
24unsigned int pci_probe = 1; 24unsigned int pci_probe = 1;
25 25
26int pcibios_last_bus = -1; 26int pcibios_last_bus = -1;
27struct pci_bus *pci_root_bus;
28struct pci_ops *pci_root_ops; 27struct pci_ops *pci_root_ops;
29 28
30/* 29/*
@@ -377,8 +376,7 @@ static int __init pcibios_init(void)
377 376
378 pci_add_resource_offset(&resources, &pci_ioport_resource, io_offset); 377 pci_add_resource_offset(&resources, &pci_ioport_resource, io_offset);
379 pci_add_resource_offset(&resources, &pci_iomem_resource, mem_offset); 378 pci_add_resource_offset(&resources, &pci_iomem_resource, mem_offset);
380 pci_root_bus = pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL, 379 pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL, &resources);
381 &resources);
382 380
383 pcibios_irq_init(); 381 pcibios_irq_init();
384 pcibios_fixup_irqs(); 382 pcibios_fixup_irqs();