summaryrefslogtreecommitdiffstats
path: root/drivers/bus/fsl-mc
diff options
context:
space:
mode:
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>2021-07-15 17:07:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 13:56:25 +0200
commitaa0a1ae020e2d24749e9f8085f12ca6d46899c94 (patch)
tree08d07037973ea6be4cfe8f8fd15373a52c232811 /drivers/bus/fsl-mc
parent03acb0c5ac46b1aa5f3015f1e01243aff9e08600 (diff)
downloadlinux-aa0a1ae020e2d24749e9f8085f12ca6d46899c94.tar.gz
linux-aa0a1ae020e2d24749e9f8085f12ca6d46899c94.tar.bz2
linux-aa0a1ae020e2d24749e9f8085f12ca6d46899c94.zip
bus: fsl-mc: fix arg in call to dprc_scan_objects()
Second parameter of dprc_scan_objects() is a bool not a pointer so change from NULL to false. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Link: https://lore.kernel.org/r/20210715140718.8513-1-laurentiu.tudor@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bus/fsl-mc')
-rw-r--r--drivers/bus/fsl-mc/fsl-mc-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c
index 09c8ab5e0959..ffec838450f3 100644
--- a/drivers/bus/fsl-mc/fsl-mc-bus.c
+++ b/drivers/bus/fsl-mc/fsl-mc-bus.c
@@ -220,7 +220,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);
+ dprc_scan_objects(root_mc_dev, false);
mutex_unlock(&root_mc_bus->scan_mutex);
exit: