aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_hdmi.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_hdmi.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index 340424f27fe4..b00353876458 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -1311,13 +1311,6 @@ static int hdmi_display_power_on(void *ctx, int mode)
1311 return 0; 1311 return 0;
1312} 1312}
1313 1313
1314static struct exynos_hdmi_display_ops display_ops = {
1315 .is_connected = hdmi_is_connected,
1316 .get_edid = hdmi_get_edid,
1317 .check_timing = hdmi_check_timing,
1318 .power_on = hdmi_display_power_on,
1319};
1320
1321static void hdmi_set_acr(u32 freq, u8 *acr) 1314static void hdmi_set_acr(u32 freq, u8 *acr)
1322{ 1315{
1323 u32 n, cts; 1316 u32 n, cts;
@@ -1995,7 +1988,14 @@ static void hdmi_disable(void *ctx)
1995 } 1988 }
1996} 1989}
1997 1990
1998static struct exynos_hdmi_manager_ops manager_ops = { 1991static struct exynos_hdmi_ops hdmi_ops = {
1992 /* display */
1993 .is_connected = hdmi_is_connected,
1994 .get_edid = hdmi_get_edid,
1995 .check_timing = hdmi_check_timing,
1996 .power_on = hdmi_display_power_on,
1997
1998 /* manager */
1999 .mode_fixup = hdmi_mode_fixup, 1999 .mode_fixup = hdmi_mode_fixup,
2000 .mode_set = hdmi_mode_set, 2000 .mode_set = hdmi_mode_set,
2001 .get_max_resol = hdmi_get_max_resol, 2001 .get_max_resol = hdmi_get_max_resol,
@@ -2321,8 +2321,7 @@ static int __devinit hdmi_probe(struct platform_device *pdev)
2321 hdata->irq = res->start; 2321 hdata->irq = res->start;
2322 2322
2323 /* register specific callbacks to common hdmi. */ 2323 /* register specific callbacks to common hdmi. */
2324 exynos_drm_display_ops_register(&display_ops); 2324 exynos_hdmi_ops_register(&hdmi_ops);
2325 exynos_drm_manager_ops_register(&manager_ops);
2326 2325
2327 hdmi_resource_poweron(hdata); 2326 hdmi_resource_poweron(hdata);
2328 2327