Laurent Pinchart | 81c0e3d | 2018-01-10 02:40:27 +0200 | [diff] [blame] | 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 | #ifdef 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__ */ |