diff options
author | 2013-03-20 16:56:18 -0500 | |
---|---|---|
committer | 2013-04-11 15:11:16 -0500 | |
commit | d71956960c9dafaafeb19ea010c234abe9d25f10 (patch) | |
tree | de84b83ed09fc484b39492669d05dfc248091c0a /include/linux/of.h | |
parent | ARM: convert arm/arm64 arch timer to use CLKSRC_OF init (diff) | |
download | linux-d71956960c9dafaafeb19ea010c234abe9d25f10.tar.gz linux-d71956960c9dafaafeb19ea010c234abe9d25f10.tar.bz2 linux-d71956960c9dafaafeb19ea010c234abe9d25f10.zip |
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>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index a0f129284948..95c8583688bd 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -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) |