Commit d7195696 authored by Rob Herring's avatar Rob Herring

OF: add empty of_device_is_available for !OF

Add an empty version of of_device_is_available.
Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment