From f35c863ac19c9257aae42e6cc8c7ce450cd1fe80 Mon Sep 17 00:00:00 2001 From: Zheng Yang Date: Wed, 25 Apr 2012 19:29:14 +0800 Subject: [PATCH] rk30:hdmi: export function hdmi_init_lcdc to initial lcdc parameter. --- drivers/video/rockchip/hdmi/rk30_hdmi_lcdc.c | 5 +++++ drivers/video/rockchip/hdmi/rk_hdmi.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/video/rockchip/hdmi/rk30_hdmi_lcdc.c b/drivers/video/rockchip/hdmi/rk30_hdmi_lcdc.c index f5df7aece0a5..a12ce060bd20 100755 --- a/drivers/video/rockchip/hdmi/rk30_hdmi_lcdc.c +++ b/drivers/video/rockchip/hdmi/rk30_hdmi_lcdc.c @@ -62,6 +62,11 @@ const struct fb_videomode hdmi_mode [] = { }; +void hdmi_init_lcdc(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info) +{ + hdmi_set_info(screen, HDMI_VIDEO_DEFAULT_MODE); +} + int hdmi_set_info(struct rk29fb_screen *screen, unsigned int vic) { int i; diff --git a/drivers/video/rockchip/hdmi/rk_hdmi.h b/drivers/video/rockchip/hdmi/rk_hdmi.h index 5fa293142fbd..baa3a353f0ef 100755 --- a/drivers/video/rockchip/hdmi/rk_hdmi.h +++ b/drivers/video/rockchip/hdmi/rk_hdmi.h @@ -198,4 +198,5 @@ extern const struct fb_videomode hdmi_mode[]; extern int hdmi_get_hotplug(void); extern int hdmi_set_info(struct rk29fb_screen *screen, unsigned int vic); +extern void hdmi_init_lcdc(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info); #endif -- 2.34.1