18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd 48c2ecf20Sopenharmony_ci * Author: 58c2ecf20Sopenharmony_ci * Sandy Huang <hjc@rock-chips.com> 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifdef CONFIG_ROCKCHIP_RGB 98c2ecf20Sopenharmony_cistruct rockchip_rgb *rockchip_rgb_init(struct device *dev, 108c2ecf20Sopenharmony_ci struct drm_crtc *crtc, 118c2ecf20Sopenharmony_ci struct drm_device *drm_dev); 128c2ecf20Sopenharmony_civoid rockchip_rgb_fini(struct rockchip_rgb *rgb); 138c2ecf20Sopenharmony_ci#else 148c2ecf20Sopenharmony_cistatic inline struct rockchip_rgb *rockchip_rgb_init(struct device *dev, 158c2ecf20Sopenharmony_ci struct drm_crtc *crtc, 168c2ecf20Sopenharmony_ci struct drm_device *drm_dev) 178c2ecf20Sopenharmony_ci{ 188c2ecf20Sopenharmony_ci return NULL; 198c2ecf20Sopenharmony_ci} 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_cistatic inline void rockchip_rgb_fini(struct rockchip_rgb *rgb) 228c2ecf20Sopenharmony_ci{ 238c2ecf20Sopenharmony_ci} 248c2ecf20Sopenharmony_ci#endif 25