@@ -1047,7 +1047,7 @@ int dt_for_each_range(const struct dt_device_node *dev,
*
* Returns a node pointer.
*/
-static struct dt_device_node *dt_find_node_by_phandle(dt_phandle handle)
+struct dt_device_node *dt_find_node_by_phandle(dt_phandle handle)
{
struct dt_device_node *np;
@@ -849,6 +849,8 @@ int dt_count_phandle_with_args(const struct dt_device_node *np,
*/
int dt_get_pci_domain_nr(struct dt_device_node *node);
+struct dt_device_node *dt_find_node_by_phandle(dt_phandle handle);
+
#ifdef CONFIG_DEVICE_TREE_DEBUG
#define dt_dprintk(fmt, args...) \
printk(XENLOG_DEBUG fmt, ## args)