From 81eea2a744f80687f0437e893e36074234035dd9 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Wed, 21 Sep 2011 13:23:10 -0600 Subject: [PATCH] --- yaml --- r: 269368 b: refs/heads/master c: aba3dfff9a75eb272c4f47994f16eb5d548a5af1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/of.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 6738ca2b59c4..a339455a07dc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 987bfad6429aa3aefbc196bd0fc90fc48409a87b +refs/heads/master: aba3dfff9a75eb272c4f47994f16eb5d548a5af1 diff --git a/trunk/include/linux/of.h b/trunk/include/linux/of.h index 8b6383d876ca..83a61f3b443c 100644 --- a/trunk/include/linux/of.h +++ b/trunk/include/linux/of.h @@ -249,6 +249,16 @@ static inline bool of_have_populated_dt(void) return false; } +#define for_each_child_of_node(parent, child) \ + while (0) + +static inline struct property *of_find_property(const struct device_node *np, + const char *name, + int *lenp) +{ + return NULL; +} + static inline int of_property_read_u32_array(const struct device_node *np, const char *propname, u32 *out_values, size_t sz)