summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/bus/imx-weim.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/bus/imx-weim.c')
-rw-r--r--kernel/drivers/bus/imx-weim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/bus/imx-weim.c b/kernel/drivers/bus/imx-weim.c
index e98d15eaa..1827fc4d1 100644
--- a/kernel/drivers/bus/imx-weim.c
+++ b/kernel/drivers/bus/imx-weim.c
@@ -150,7 +150,7 @@ static int __init weim_parse_dt(struct platform_device *pdev,
return ret;
}
- for_each_child_of_node(pdev->dev.of_node, child) {
+ for_each_available_child_of_node(pdev->dev.of_node, child) {
if (!child->name)
continue;