summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2013-01-04 16:27:03 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:42:26 +0900
commit05459e9abe0d6d77f3126b24670ad9ff0b80462c (patch)
tree09ba113b71fb904648b12a6619186cfbc0cf2e95 /drivers/gpu/drm
parent9675e798452ecd7e6b94af486234fcb573e658ed (diff)
downloadlinux-3.10-05459e9abe0d6d77f3126b24670ad9ff0b80462c.tar.gz
linux-3.10-05459e9abe0d6d77f3126b24670ad9ff0b80462c.tar.bz2
linux-3.10-05459e9abe0d6d77f3126b24670ad9ff0b80462c.zip
drm/exynos: add dt match table for vidi module.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_vidi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c
index 24376c194a5..c966e23da56 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c
@@ -85,6 +85,14 @@ static const char fake_edid_info[] = {
0x00, 0x00, 0x00, 0x06
};
+#ifdef CONFIG_OF
+static const struct of_device_id vidi_driver_dt_match[] = {
+ { .compatible = "samsung,exynos-drm-vidi" },
+ {},
+};
+MODULE_DEVICE_TABLE(of, vidi_driver_dt_match);
+#endif
+
static bool vidi_display_is_connected(struct device *dev)
{
struct vidi_context *ctx = get_vidi_context(dev);
@@ -664,5 +672,6 @@ struct platform_driver vidi_driver = {
.name = "exynos-drm-vidi",
.owner = THIS_MODULE,
.pm = &vidi_pm_ops,
+ .of_match_table = of_match_ptr(vidi_driver_dt_match),
},
};