Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[firefly-linux-kernel-4.4.55.git] / include / drm / drm_of.h
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__ */