drm_of.h 365 B

12345678910111213141516171819
  1. #ifndef __DRM_OF_H__
  2. #define __DRM_OF_H__
  3. struct drm_device;
  4. struct device_node;
  5. #ifdef CONFIG_OF
  6. extern uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
  7. struct device_node *port);
  8. #else
  9. static inline uint32_t drm_of_find_possible_crtcs(struct drm_device *dev,
  10. struct device_node *port)
  11. {
  12. return 0;
  13. }
  14. #endif
  15. #endif /* __DRM_OF_H__ */