mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
OF: add empty of_device_is_available for !OF
Add an empty version of of_device_is_available. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
parent
0583fe478a
commit
d71956960c
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue