From: Tomi Valkeinen Date: Mon, 16 Dec 2013 13:14:04 +0000 (+0200) Subject: OMAPDSS: Add DT support to HDMI X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=0465616d34e928ed0041f37b507cb1fa0b41372d;p=deliverable%2Flinux.git OMAPDSS: Add DT support to HDMI Add DT support to HDMI driver. The only thing needed for DT support here is the of_match_table. Signed-off-by: Tomi Valkeinen Reviewed-by: Archit Taneja --- diff --git a/drivers/video/omap2/dss/hdmi4.c b/drivers/video/omap2/dss/hdmi4.c index ba6f02518ebe..a2a4d955d71e 100644 --- a/drivers/video/omap2/dss/hdmi4.c +++ b/drivers/video/omap2/dss/hdmi4.c @@ -682,6 +682,11 @@ static const struct dev_pm_ops hdmi_pm_ops = { .runtime_resume = hdmi_runtime_resume, }; +static const struct of_device_id hdmi_of_match[] = { + { .compatible = "ti,omap4-hdmi", }, + {}, +}; + static struct platform_driver omapdss_hdmihw_driver = { .probe = omapdss_hdmihw_probe, .remove = __exit_p(omapdss_hdmihw_remove), @@ -689,6 +694,7 @@ static struct platform_driver omapdss_hdmihw_driver = { .name = "omapdss_hdmi", .owner = THIS_MODULE, .pm = &hdmi_pm_ops, + .of_match_table = hdmi_of_match, }, };