Russell King | 7e435aa | 2014-06-15 11:07:12 +0100 | [diff] [blame] | 1 | #ifndef __DRM_OF_H__ |
2 | #define __DRM_OF_H__ | ||||
3 | |||||
4 | struct drm_device; | ||||
5 | struct device_node; | ||||
6 | |||||
7 | #ifdef CONFIG_OF | ||||
8 | extern uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, | ||||
9 | struct device_node *port); | ||||
10 | #else | ||||
11 | static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev, | ||||
12 | struct device_node *port) | ||||
13 | { | ||||
14 | return 0; | ||||
15 | } | ||||
16 | #endif | ||||
17 | |||||
18 | #endif /* __DRM_OF_H__ */ |