• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
10 #include <linux/init.h>
11 
12 struct of_device_id;
13 
14 #if IS_ENABLED(CONFIG_DRM_RCAR_LVDS)
15 void __init rcar_du_of_init(const struct of_device_id *of_ids);
16 #else
rcar_du_of_init(const struct of_device_id * of_ids)17 static inline void rcar_du_of_init(const struct of_device_id *of_ids) { }
18 #endif /* CONFIG_DRM_RCAR_LVDS */
19 
20 #endif /* __RCAR_DU_OF_H__ */
21