Blame view

include/drm/drm_of.h 365 Bytes
7e435aad3   Russell King   drm: add of_graph...
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__ */