xref: /openbmc/linux/include/drm/drm_of.h (revision 06ed5c2b)
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__ */
19