diff options
Diffstat (limited to 'include/drm/drm_of.h')
| -rw-r--r-- | include/drm/drm_of.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drm/drm_of.h b/include/drm/drm_of.h index b93c239afb60..ead34ab5ca4e 100644 --- a/include/drm/drm_of.h +++ b/include/drm/drm_of.h | |||
| @@ -17,6 +17,8 @@ struct drm_bridge; | |||
| 17 | struct device_node; | 17 | struct device_node; |
| 18 | 18 | ||
| 19 | #ifdef CONFIG_OF | 19 | #ifdef CONFIG_OF |
| 20 | uint32_t drm_of_crtc_port_mask(struct drm_device *dev, | ||
| 21 | struct device_node *port); | ||
| 20 | uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, | 22 | uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, |
| 21 | struct device_node *port); | 23 | struct device_node *port); |
| 22 | void drm_of_component_match_add(struct device *master, | 24 | void drm_of_component_match_add(struct device *master, |
| @@ -34,6 +36,12 @@ int drm_of_find_panel_or_bridge(const struct device_node *np, | |||
| 34 | struct drm_panel **panel, | 36 | struct drm_panel **panel, |
| 35 | struct drm_bridge **bridge); | 37 | struct drm_bridge **bridge); |
| 36 | #else | 38 | #else |
| 39 | static inline uint32_t drm_of_crtc_port_mask(struct drm_device *dev, | ||
| 40 | struct device_node *port) | ||
| 41 | { | ||
| 42 | return 0; | ||
| 43 | } | ||
| 44 | |||
| 37 | static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, | 45 | static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, |
| 38 | struct device_node *port) | 46 | struct device_node *port) |
| 39 | { | 47 | { |
