diff --git a/include/linux/of.h b/include/linux/of.h index a0f129284948e86bde078d794dd35fbe37629acd..9f5923fc0775e1ef59cd6c636d4433e154492a45 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -353,6 +353,11 @@ static inline struct device_node *of_find_node_by_name(struct device_node *from, return NULL; } +static inline struct device_node *of_get_parent(const struct device_node *node) +{ + return NULL; +} + static inline bool of_have_populated_dt(void) { return false;