162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd 462306a36Sopenharmony_ci * Author: 562306a36Sopenharmony_ci * Sandy Huang <hjc@rock-chips.com> 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifdef CONFIG_ROCKCHIP_RGB 962306a36Sopenharmony_cistruct rockchip_rgb *rockchip_rgb_init(struct device *dev, 1062306a36Sopenharmony_ci struct drm_crtc *crtc, 1162306a36Sopenharmony_ci struct drm_device *drm_dev, 1262306a36Sopenharmony_ci int video_port); 1362306a36Sopenharmony_civoid rockchip_rgb_fini(struct rockchip_rgb *rgb); 1462306a36Sopenharmony_ci#else 1562306a36Sopenharmony_cistatic inline struct rockchip_rgb *rockchip_rgb_init(struct device *dev, 1662306a36Sopenharmony_ci struct drm_crtc *crtc, 1762306a36Sopenharmony_ci struct drm_device *drm_dev, 1862306a36Sopenharmony_ci int video_port) 1962306a36Sopenharmony_ci{ 2062306a36Sopenharmony_ci return NULL; 2162306a36Sopenharmony_ci} 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_cistatic inline void rockchip_rgb_fini(struct rockchip_rgb *rgb) 2462306a36Sopenharmony_ci{ 2562306a36Sopenharmony_ci} 2662306a36Sopenharmony_ci#endif 27