提交 d7195696 编写于 作者: R Rob Herring

OF: add empty of_device_is_available for !OF

Add an empty version of of_device_is_available.
Signed-off-by: NRob Herring <rob.herring@calxeda.com>
上级 0583fe47
......@@ -379,6 +379,11 @@ static inline int of_device_is_compatible(const struct device_node *device,
return 0;
}
static inline int of_device_is_available(const struct device_node *device)
{
return 0;
}
static inline struct property *of_find_property(const struct device_node *np,
const char *name,
int *lenp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册