drm/i915/uapi: reject set_domain for discrete
[linux-2.6-microblaze.git] / drivers / gpu / drm / rcar-du / rcar_du_of.h
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
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__ */