|
@@ -219,8 +219,8 @@ extern int of_device_is_available(const struct device_node *device);
|
|
extern const void *of_get_property(const struct device_node *node,
|
|
extern const void *of_get_property(const struct device_node *node,
|
|
const char *name,
|
|
const char *name,
|
|
int *lenp);
|
|
int *lenp);
|
|
-#define for_each_property(pp, properties) \
|
|
|
|
- for (pp = properties; pp != NULL; pp = pp->next)
|
|
|
|
|
|
+#define for_each_property_of_node(dn, pp) \
|
|
|
|
+ for (pp = dn->properties; pp != NULL; pp = pp->next)
|
|
|
|
|
|
extern int of_n_addr_cells(struct device_node *np);
|
|
extern int of_n_addr_cells(struct device_node *np);
|
|
extern int of_n_size_cells(struct device_node *np);
|
|
extern int of_n_size_cells(struct device_node *np);
|