mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

The company name has update to Rockchip Electronics Co., Ltd. since 2021. And change Co.Ltd to Co., Ltd. to fix mail server warning: DBL_SPAM(6.50)[co.ltd:url]; Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20241214071333.3325308-1-andyshrk@163.com
26 lines
656 B
C
26 lines
656 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) Rockchip Electronics Co., Ltd.
|
|
* Author:
|
|
* Sandy Huang <hjc@rock-chips.com>
|
|
*/
|
|
|
|
#ifdef CONFIG_ROCKCHIP_RGB
|
|
struct rockchip_rgb *rockchip_rgb_init(struct device *dev,
|
|
struct drm_crtc *crtc,
|
|
struct drm_device *drm_dev,
|
|
int video_port);
|
|
void rockchip_rgb_fini(struct rockchip_rgb *rgb);
|
|
#else
|
|
static inline struct rockchip_rgb *rockchip_rgb_init(struct device *dev,
|
|
struct drm_crtc *crtc,
|
|
struct drm_device *drm_dev,
|
|
int video_port)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
static inline void rockchip_rgb_fini(struct rockchip_rgb *rgb)
|
|
{
|
|
}
|
|
#endif
|