xen/device-tree: Make dt_find_node_by_phandle global
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Fri, 8 Oct 2021 05:55:28 +0000 (08:55 +0300)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Fri, 8 Oct 2021 22:45:44 +0000 (15:45 -0700)
commit86e84e59bd77b69de5736ee00a679fba5ce9df5c
treef9ed67b0920d6c32fe0abf2f965ccf58f586c573
parent8858dfac1d83acd1b28643c616318631e3a4134d
xen/device-tree: Make dt_find_node_by_phandle global

Make dt_find_node_by_phandle globally visible, so it can be re-used by
other frameworks.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Rahul Singh <rahul.singh@arm.com>
Tested-by: Rahul Singh <rahul.singh@arm.com>
xen/common/device_tree.c
xen/include/xen/device_tree.h