diff options
Diffstat (limited to 'arch/arm/mach-sa1100/pci-nanoengine.c')
-rw-r--r-- | arch/arm/mach-sa1100/pci-nanoengine.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-sa1100/pci-nanoengine.c b/arch/arm/mach-sa1100/pci-nanoengine.c index b49108b890a8..ff02e2da99f2 100644 --- a/arch/arm/mach-sa1100/pci-nanoengine.c +++ b/arch/arm/mach-sa1100/pci-nanoengine.c | |||
@@ -129,12 +129,6 @@ static int __init pci_nanoengine_map_irq(const struct pci_dev *dev, u8 slot, | |||
129 | return NANOENGINE_IRQ_GPIO_PCI; | 129 | return NANOENGINE_IRQ_GPIO_PCI; |
130 | } | 130 | } |
131 | 131 | ||
132 | struct pci_bus * __init pci_nanoengine_scan_bus(int nr, struct pci_sys_data *sys) | ||
133 | { | ||
134 | return pci_scan_root_bus(NULL, sys->busnr, &pci_nano_ops, sys, | ||
135 | &sys->resources); | ||
136 | } | ||
137 | |||
138 | static struct resource pci_io_ports = | 132 | static struct resource pci_io_ports = |
139 | DEFINE_RES_IO_NAMED(0x400, 0x400, "PCI IO"); | 133 | DEFINE_RES_IO_NAMED(0x400, 0x400, "PCI IO"); |
140 | 134 | ||
@@ -274,7 +268,7 @@ int __init pci_nanoengine_setup(int nr, struct pci_sys_data *sys) | |||
274 | static struct hw_pci nanoengine_pci __initdata = { | 268 | static struct hw_pci nanoengine_pci __initdata = { |
275 | .map_irq = pci_nanoengine_map_irq, | 269 | .map_irq = pci_nanoengine_map_irq, |
276 | .nr_controllers = 1, | 270 | .nr_controllers = 1, |
277 | .scan = pci_nanoengine_scan_bus, | 271 | .ops = &pci_nano_ops, |
278 | .setup = pci_nanoengine_setup, | 272 | .setup = pci_nanoengine_setup, |
279 | }; | 273 | }; |
280 | 274 | ||