1053ff09fSSandy Huang /* SPDX-License-Identifier: GPL-2.0 */ 21f0f0151SSandy Huang /* 31f0f0151SSandy Huang * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd 41f0f0151SSandy Huang * Author: 51f0f0151SSandy Huang * Sandy Huang <hjc@rock-chips.com> 61f0f0151SSandy Huang */ 71f0f0151SSandy Huang 83ee22b76SHeiko Stuebner #ifdef CONFIG_ROCKCHIP_RGB 91f0f0151SSandy Huang struct rockchip_rgb *rockchip_rgb_init(struct device *dev, 101f0f0151SSandy Huang struct drm_crtc *crtc, 11*03db8f25SMichael Riesch struct drm_device *drm_dev, 12*03db8f25SMichael Riesch int video_port); 131f0f0151SSandy Huang void rockchip_rgb_fini(struct rockchip_rgb *rgb); 143ee22b76SHeiko Stuebner #else rockchip_rgb_init(struct device * dev,struct drm_crtc * crtc,struct drm_device * drm_dev,int video_port)153ee22b76SHeiko Stuebnerstatic inline struct rockchip_rgb *rockchip_rgb_init(struct device *dev, 163ee22b76SHeiko Stuebner struct drm_crtc *crtc, 17*03db8f25SMichael Riesch struct drm_device *drm_dev, 18*03db8f25SMichael Riesch int video_port) 193ee22b76SHeiko Stuebner { 203ee22b76SHeiko Stuebner return NULL; 213ee22b76SHeiko Stuebner } 223ee22b76SHeiko Stuebner rockchip_rgb_fini(struct rockchip_rgb * rgb)233ee22b76SHeiko Stuebnerstatic inline void rockchip_rgb_fini(struct rockchip_rgb *rgb) 243ee22b76SHeiko Stuebner { 253ee22b76SHeiko Stuebner } 263ee22b76SHeiko Stuebner #endif 27