wifipineapple-openwrt/target/linux/iop32x/patches-3.3/003-plat-iop-fix-section-mi...

12 lines
381 B
Diff

--- a/arch/arm/plat-iop/pci.c
+++ b/arch/arm/plat-iop/pci.c
@@ -221,7 +221,7 @@ int iop3xx_pci_setup(int nr, struct pci_
return 1;
}
-struct pci_bus *iop3xx_pci_scan_bus(int nr, struct pci_sys_data *sys)
+struct pci_bus * __devinit iop3xx_pci_scan_bus(int nr, struct pci_sys_data *sys)
{
return pci_scan_root_bus(NULL, sys->busnr, &iop3xx_ops, sys,
&sys->resources);