Name

of_fill_overlay_info — Fill an overlay info structure

Synopsis

int of_fill_overlay_info (struct of_overlay * ov,
 struct device_node * info_node,
 struct of_overlay_info * ovinfo);
 

Arguments

ov

Overlay to fill

info_node

Pointer to device node containing the overlay

ovinfo

Pointer to the overlay info structure to fill

Description

Fill an overlay info structure with the overlay information from a device node. This device node must have a target property which contains a phandle of the overlay target node, and an __overlay__ child node which has the overlay contents. Both ovinfo->target & ovinfo->overlay have their references taken.

See also

of_build_overlay_info

Return

0 on success else -EINVAL on error.