device_tree: introduce qemu_fdt_node_path
commit6d79566ae6592056bbba106e6544a5746c741f15
authorEric Auger <eric.auger@linaro.org>
Fri, 19 Feb 2016 16:42:30 +0000 (19 09:42 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 19 Feb 2016 16:42:30 +0000 (19 09:42 -0700)
tree007c41cb1c7156f53e0b52bad723fe87e7bfb7b6
parent60e43e987c3d188855dc7e95ff4979be78db3574
device_tree: introduce qemu_fdt_node_path

This new helper routine returns a NULL terminated array of
node paths matching a node name and a compat string.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
device_tree.c
include/sysemu/device_tree.h