|
@@ -249,6 +249,16 @@ static inline bool of_have_populated_dt(void)
|
|
return false;
|
|
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,
|
|
static inline int of_property_read_u32_array(const struct device_node *np,
|
|
const char *propname,
|
|
const char *propname,
|
|
u32 *out_values, size_t sz)
|
|
u32 *out_values, size_t sz)
|