diff options
Diffstat (limited to 'include/drm/drm_of.h')
-rw-r--r-- | include/drm/drm_of.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/drm/drm_of.h b/include/drm/drm_of.h index 4f835490d77a..c0bd3dff0191 100644 --- a/include/drm/drm_of.h +++ b/include/drm/drm_of.h @@ -4,6 +4,7 @@ #include <linux/of_graph.h> +struct component_match; struct component_master_ops; struct component_match; struct device; @@ -20,6 +21,10 @@ void drm_of_component_match_add(struct device *master, struct component_match **matchptr, int (*compare)(struct device *, void *), struct device_node *node); +extern 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); int drm_of_component_probe(struct device *dev, int (*compare_of)(struct device *, void *), const struct component_master_ops *m_ops); @@ -45,6 +50,14 @@ drm_of_component_match_add(struct device *master, { } +static 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) +{ + return -EINVAL; +} + static inline int drm_of_component_probe(struct device *dev, int (*compare_of)(struct device *, void *), |