summaryrefslogblamecommitdiff
path: root/include/drm/drm_of.h
blob: 2441f7112074f79a4d1e16cda60fd26d3d1eca72 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                           
#ifndef __DRM_OF_H__
#define __DRM_OF_H__

struct drm_device;
struct device_node;

#ifdef CONFIG_OF
extern uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
					   struct device_node *port);
#else
static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
						  struct device_node *port)
{
	return 0;
}
#endif

#endif /* __DRM_OF_H__ */