rcar_du_of.h 519 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * rcar_du_of.h - Legacy DT bindings compatibility
  4. *
  5. * Copyright (C) 2018 Laurent Pinchart <laurent.pinchart@ideasonboard.com>
  6. */
  7. #ifndef __RCAR_DU_OF_H__
  8. #define __RCAR_DU_OF_H__
  9. #include <linux/init.h>
  10. struct of_device_id;
  11. #if IS_ENABLED(CONFIG_DRM_RCAR_LVDS)
  12. void __init rcar_du_of_init(const struct of_device_id *of_ids);
  13. #else
  14. static inline void rcar_du_of_init(const struct of_device_id *of_ids) { }
  15. #endif /* CONFIG_DRM_RCAR_LVDS */
  16. #endif /* __RCAR_DU_OF_H__ */