参照元

説明

引数

返り値

参考

実装

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;
}

コメント


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-03-07 (月) 21:35:11