Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6695be68 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Mauro Carvalho Chehab
Browse files

[media] DT: export of_get_next_parent() for use by modules: fix modular V4L2



Currently modular V4L2 build with enabled OF is broken dur to the
of_get_next_parent() function being unavailable to modules. Export it to
fix the build.

Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: default avatarGrant Likely <grant.likely@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 33a31edd
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -382,6 +382,7 @@ struct device_node *of_get_next_parent(struct device_node *node)
	raw_spin_unlock_irqrestore(&devtree_lock, flags);
	raw_spin_unlock_irqrestore(&devtree_lock, flags);
	return parent;
	return parent;
}
}
EXPORT_SYMBOL(of_get_next_parent);


/**
/**
 *	of_get_next_child - Iterate a node childs
 *	of_get_next_child - Iterate a node childs