*参照元 [#me58f13f] #backlinks *説明 [#ec9bb528] -パス: 複数あり --CONFIG_OF 有効: [[linux-4.4.1/drivers/of/base.c]] --CONFIG_OF 無効: [[linux-4.4.1/include/linux/of.h]] -FIXME: これは何? --説明 **引数 [#qc0b8126] -const struct device_node *node -- --[[linux-4.4.1/device_node]] -const char *name -- -int *lenp -- **返り値 [#hbec98f4] - -- **参考 [#s5a86cae] *実装 [#jefc6baf] **CONFIG_OF 有効: drivers/of/base.c [#o072e03c] /* * 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); - --[[linux-4.4.1/property]] --[[linux-4.4.1/of_find_property()]] return pp ? pp->value : NULL; } EXPORT_SYMBOL(of_get_property); - --[[linux-4.4.1/EXPORT_SYMBOL()]] **CONFIG_OF 無効: include/linux/of.h [#maabf2a7] static inline const void *of_get_property(const struct device_node *node, const char *name, int *lenp) { return NULL; } *コメント [#d1c2bbdd]