diff --git a/include/drm/drm_of.h b/include/drm/drm_of.h index 27a7d3fc7041..6a77bf3646f7 100644 --- a/include/drm/drm_of.h +++ b/include/drm/drm_of.h @@ -85,7 +85,7 @@ drm_of_component_match_add(struct device *master, { } -static int drm_of_component_probe_with_match(struct device *dev, +static inline int drm_of_component_probe_with_match(struct device *dev, struct component_match *match, int (*compare_of)(struct device *, void *), const struct component_master_ops *m_ops)