ab8025dd9c6a70707e0b2e3ca390ae9c9ca3842b
[openwrt/openwrt.git] / target / linux / iop32x / patches-3.3 / 003-plat-iop-fix-section-mismatch.patch
1 --- a/arch/arm/plat-iop/pci.c
2 +++ b/arch/arm/plat-iop/pci.c
3 @@ -221,7 +221,7 @@ int iop3xx_pci_setup(int nr, struct pci_
4 return 1;
5 }
6
7 -struct pci_bus *iop3xx_pci_scan_bus(int nr, struct pci_sys_data *sys)
8 +struct pci_bus * __devinit iop3xx_pci_scan_bus(int nr, struct pci_sys_data *sys)
9 {
10 return pci_scan_root_bus(NULL, sys->busnr, &iop3xx_ops, sys,
11 &sys->resources);