summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_hdmi.c
diff options
context:
space:
mode:
authorRahul Sharma2012-10-04 17:18:56 +0200
committerInki Dae2012-10-05 12:15:16 +0200
commit768c3059d87876ce124dafc40078718dc85cec65 (patch)
tree93f44ffe8396ddfb18aecbbabf2f6eb922a295bf /drivers/gpu/drm/exynos/exynos_hdmi.c
parentdrm: exynos: hdmi: add support for exynos5 hdmi (diff)
downloadkernel-qcow2-linux-768c3059d87876ce124dafc40078718dc85cec65.tar.gz
kernel-qcow2-linux-768c3059d87876ce124dafc40078718dc85cec65.tar.xz
kernel-qcow2-linux-768c3059d87876ce124dafc40078718dc85cec65.zip
drm: exynos: hdmi: remove drm common hdmi platform data struct
exynos-drm-hdmi need context pointers from hdmi and mixer. These pointers were expected from the plf data. Cleaned this dependency by exporting i/f which are called by hdmi, mixer driver probes for setting their context. Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_hdmi.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_hdmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index 5caf49f366e3..e6b784d1527d 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -2454,6 +2454,9 @@ static int __devinit hdmi_probe(struct platform_device *pdev)
goto err_free_irq;
}
+ /* Attach HDMI Driver to common hdmi. */
+ exynos_hdmi_drv_attach(drm_hdmi_ctx);
+
/* register specific callbacks to common hdmi. */
exynos_hdmi_ops_register(&hdmi_ops);