geneve: move geneve device lookup before iptunnel_pull_header
[linux/fpc-iii.git] / include / drm / drm_of.h
blob8544665ee4f463ec1fb77169247d4956a891c6e7
1 #ifndef __DRM_OF_H__
2 #define __DRM_OF_H__
4 struct component_master_ops;
5 struct device;
6 struct drm_device;
7 struct device_node;
9 #ifdef CONFIG_OF
10 extern uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
11 struct device_node *port);
12 extern int drm_of_component_probe(struct device *dev,
13 int (*compare_of)(struct device *, void *),
14 const struct component_master_ops *m_ops);
15 #else
16 static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
17 struct device_node *port)
19 return 0;
22 static inline int
23 drm_of_component_probe(struct device *dev,
24 int (*compare_of)(struct device *, void *),
25 const struct component_master_ops *m_ops)
27 return -EINVAL;
29 #endif
31 #endif /* __DRM_OF_H__ */