diff --git a/include/linux/of.h b/include/linux/of.h index 40e58b0e9cf4f117c0ba4094f121abad2295fce0..209e226e91b709c288fe2e4797aab7b9a104c529 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -995,7 +995,7 @@ static inline struct device_node *of_find_matching_node( static inline const char *of_node_get_device_type(const struct device_node *np) { - return of_get_property(np, "type", NULL); + return of_get_property(np, "device_type", NULL); } static inline bool of_node_is_type(const struct device_node *np, const char *type)