Adjust the parameters of calling the dprc_scan_objects function fix build error incompatible type for argument 2 of'dprc_scan_objects'
Signed-off-by: Xiaolei Wang <[email protected]> --- drivers/bus/fsl-mc/fsl-mc-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index 006861064e82..910df2424a2c 100644 --- a/drivers/bus/fsl-mc/fsl-mc-bus.c +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c @@ -216,7 +216,7 @@ static int scan_fsl_mc_bus(struct device *dev, void *data) root_mc_dev = to_fsl_mc_device(dev); root_mc_bus = to_fsl_mc_bus(root_mc_dev); mutex_lock(&root_mc_bus->scan_mutex); - dprc_scan_objects(root_mc_dev, NULL, true, NULL); + dprc_scan_objects(root_mc_dev, true); mutex_unlock(&root_mc_bus->scan_mutex); exit: -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9668): https://lists.yoctoproject.org/g/linux-yocto/message/9668 Mute This Topic: https://lists.yoctoproject.org/mt/81822946/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
