Name

of_add_property — add a property to a node

Synopsis

int of_add_property (struct device_node * np,
 struct property * prop);
 

Arguments

np

Pointer to node that will hold the property

prop

Pointer to property to add

Return

0 on success, -EEXIST if the node already contains a property named prop->name.