rcar_du_hdmicon.h 853 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * R-Car Display Unit HDMI Connector
  3. *
  4. * Copyright (C) 2014 Renesas Electronics Corporation
  5. *
  6. * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. */
  13. #ifndef __RCAR_DU_HDMICON_H__
  14. #define __RCAR_DU_HDMICON_H__
  15. struct rcar_du_device;
  16. struct rcar_du_encoder;
  17. #if IS_ENABLED(CONFIG_DRM_RCAR_HDMI)
  18. int rcar_du_hdmi_connector_init(struct rcar_du_device *rcdu,
  19. struct rcar_du_encoder *renc);
  20. #else
  21. static inline int rcar_du_hdmi_connector_init(struct rcar_du_device *rcdu,
  22. struct rcar_du_encoder *renc)
  23. {
  24. return -ENOSYS;
  25. }
  26. #endif
  27. #endif /* __RCAR_DU_HDMICON_H__ */