参照元†
- const struct device_node *node
- const char *name
- int *lenp
返り値†
CONFIG_OF 有効: drivers/of/base.c†
/*
* Find a property with a given name for a given node
* and return the value.
*/
const void *of_get_property(const struct device_node *np, const char *name,
int *lenp)
{
struct property *pp = of_find_property(np, name, lenp);
return pp ? pp->value : NULL;
}
EXPORT_SYMBOL(of_get_property);
CONFIG_OF 無効: include/linux/of.h†
static inline const void *of_get_property(const struct device_node *node,
const char *name,
int *lenp)
{
return NULL;
}
コメント†