File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,6 @@ struct v3_pci {
239
239
struct device * dev ;
240
240
void __iomem * base ;
241
241
void __iomem * config_base ;
242
- struct pci_bus * bus ;
243
242
u32 config_mem ;
244
243
u32 non_pre_mem ;
245
244
u32 pre_mem ;
@@ -904,17 +903,7 @@ static int v3_pci_probe(struct platform_device *pdev)
904
903
val |= V3_SYSTEM_M_LOCK ;
905
904
writew (val , v3 -> base + V3_SYSTEM );
906
905
907
- ret = pci_scan_root_bus_bridge (host );
908
- if (ret ) {
909
- dev_err (dev , "failed to register host: %d\n" , ret );
910
- return ret ;
911
- }
912
- v3 -> bus = host -> bus ;
913
-
914
- pci_bus_assign_resources (v3 -> bus );
915
- pci_bus_add_devices (v3 -> bus );
916
-
917
- return 0 ;
906
+ return pci_host_probe (host );
918
907
}
919
908
920
909
static const struct of_device_id v3_pci_of_match [] = {
You can’t perform that action at this time.
0 commit comments