Skip to content

Commit 26cf9cc

Browse files
Kefeng Wangvineetgarc
authored andcommitted
arc: use of_platform_default_populate() to populate default bus
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent c511eaa commit 26cf9cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arc/kernel/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ static int __init customize_machine(void)
459459
* Traverses flattened DeviceTree - registering platform devices
460460
* (if any) complete with their resources
461461
*/
462-
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
462+
of_platform_default_populate(NULL, NULL, NULL);
463463

464464
if (machine_desc->init_machine)
465465
machine_desc->init_machine();

0 commit comments

Comments
 (0)