diff options
Diffstat (limited to 'arch/arm/mach-ixp23xx')
-rw-r--r-- | arch/arm/mach-ixp23xx/include/mach/platform.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp23xx/ixdp2351.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp23xx/pci.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ixp23xx/roadrunner.c | 2 |
4 files changed, 3 insertions, 9 deletions
diff --git a/arch/arm/mach-ixp23xx/include/mach/platform.h b/arch/arm/mach-ixp23xx/include/mach/platform.h index 50de558e722e..798d8b42ab4a 100644 --- a/arch/arm/mach-ixp23xx/include/mach/platform.h +++ b/arch/arm/mach-ixp23xx/include/mach/platform.h | |||
@@ -37,7 +37,7 @@ void ixp23xx_sys_init(void); | |||
37 | void ixp23xx_restart(char, const char *); | 37 | void ixp23xx_restart(char, const char *); |
38 | int ixp23xx_pci_setup(int, struct pci_sys_data *); | 38 | int ixp23xx_pci_setup(int, struct pci_sys_data *); |
39 | void ixp23xx_pci_preinit(void); | 39 | void ixp23xx_pci_preinit(void); |
40 | struct pci_bus *ixp23xx_pci_scan_bus(int, struct pci_sys_data*); | 40 | extern struct pci_ops ixp23xx_pci_ops; |
41 | void ixp23xx_pci_slave_init(void); | 41 | void ixp23xx_pci_slave_init(void); |
42 | 42 | ||
43 | extern struct sys_timer ixp23xx_timer; | 43 | extern struct sys_timer ixp23xx_timer; |
diff --git a/arch/arm/mach-ixp23xx/ixdp2351.c b/arch/arm/mach-ixp23xx/ixdp2351.c index b0e07db5ceaf..8b48e32a8a62 100644 --- a/arch/arm/mach-ixp23xx/ixdp2351.c +++ b/arch/arm/mach-ixp23xx/ixdp2351.c | |||
@@ -251,9 +251,9 @@ static int __init ixdp2351_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | |||
251 | 251 | ||
252 | struct hw_pci ixdp2351_pci __initdata = { | 252 | struct hw_pci ixdp2351_pci __initdata = { |
253 | .nr_controllers = 1, | 253 | .nr_controllers = 1, |
254 | .ops = &ixp23xx_pci_ops, | ||
254 | .preinit = ixp23xx_pci_preinit, | 255 | .preinit = ixp23xx_pci_preinit, |
255 | .setup = ixp23xx_pci_setup, | 256 | .setup = ixp23xx_pci_setup, |
256 | .scan = ixp23xx_pci_scan_bus, | ||
257 | .map_irq = ixdp2351_map_irq, | 257 | .map_irq = ixdp2351_map_irq, |
258 | }; | 258 | }; |
259 | 259 | ||
diff --git a/arch/arm/mach-ixp23xx/pci.c b/arch/arm/mach-ixp23xx/pci.c index 911f5a58e006..9211506ef556 100644 --- a/arch/arm/mach-ixp23xx/pci.c +++ b/arch/arm/mach-ixp23xx/pci.c | |||
@@ -140,12 +140,6 @@ struct pci_ops ixp23xx_pci_ops = { | |||
140 | .write = ixp23xx_pci_write_config, | 140 | .write = ixp23xx_pci_write_config, |
141 | }; | 141 | }; |
142 | 142 | ||
143 | struct pci_bus *ixp23xx_pci_scan_bus(int nr, struct pci_sys_data *sysdata) | ||
144 | { | ||
145 | return pci_scan_root_bus(NULL, sysdata->busnr, &ixp23xx_pci_ops, | ||
146 | sysdata, &sysdata->resources); | ||
147 | } | ||
148 | |||
149 | int ixp23xx_pci_abort_handler(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | 143 | int ixp23xx_pci_abort_handler(unsigned long addr, unsigned int fsr, struct pt_regs *regs) |
150 | { | 144 | { |
151 | volatile unsigned long temp; | 145 | volatile unsigned long temp; |
diff --git a/arch/arm/mach-ixp23xx/roadrunner.c b/arch/arm/mach-ixp23xx/roadrunner.c index eaaa3fa9fd05..8c0e5de3c609 100644 --- a/arch/arm/mach-ixp23xx/roadrunner.c +++ b/arch/arm/mach-ixp23xx/roadrunner.c | |||
@@ -118,9 +118,9 @@ static void __init roadrunner_pci_preinit(void) | |||
118 | 118 | ||
119 | static struct hw_pci roadrunner_pci __initdata = { | 119 | static struct hw_pci roadrunner_pci __initdata = { |
120 | .nr_controllers = 1, | 120 | .nr_controllers = 1, |
121 | .ops = &ixp23xx_pci_ops, | ||
121 | .preinit = roadrunner_pci_preinit, | 122 | .preinit = roadrunner_pci_preinit, |
122 | .setup = ixp23xx_pci_setup, | 123 | .setup = ixp23xx_pci_setup, |
123 | .scan = ixp23xx_pci_scan_bus, | ||
124 | .map_irq = roadrunner_map_irq, | 124 | .map_irq = roadrunner_map_irq, |
125 | }; | 125 | }; |
126 | 126 | ||