summaryrefslogtreecommitdiffstats
path: root/arch/arm/common/via82c505.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/common/via82c505.c')
-rw-r--r--arch/arm/common/via82c505.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/common/via82c505.c b/arch/arm/common/via82c505.c
index 8421d39109b3..67dd2affc57a 100644
--- a/arch/arm/common/via82c505.c
+++ b/arch/arm/common/via82c505.c
@@ -86,7 +86,8 @@ int __init via82c505_setup(int nr, struct pci_sys_data *sys)
struct pci_bus * __init via82c505_scan_bus(int nr, struct pci_sys_data *sysdata)
{
if (nr == 0)
- return pci_scan_bus(0, &via82c505_ops, sysdata);
+ return pci_scan_root_bus(NULL, 0, &via82c505_ops, sysdata,
+ &sysdata->resources);
return NULL;
}