aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/hdmi.c')
-rw-r--r--drivers/video/omap2/dss/hdmi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index e0ab10808a78..d955491ed3cd 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -872,7 +872,6 @@ static const struct dev_pm_ops hdmi_pm_ops = {
872}; 872};
873 873
874static struct platform_driver omapdss_hdmihw_driver = { 874static struct platform_driver omapdss_hdmihw_driver = {
875 .probe = omapdss_hdmihw_probe,
876 .remove = omapdss_hdmihw_remove, 875 .remove = omapdss_hdmihw_remove,
877 .driver = { 876 .driver = {
878 .name = "omapdss_hdmi", 877 .name = "omapdss_hdmi",
@@ -883,7 +882,7 @@ static struct platform_driver omapdss_hdmihw_driver = {
883 882
884int hdmi_init_platform_driver(void) 883int hdmi_init_platform_driver(void)
885{ 884{
886 return platform_driver_register(&omapdss_hdmihw_driver); 885 return platform_driver_probe(&omapdss_hdmihw_driver, omapdss_hdmihw_probe);
887} 886}
888 887
889void hdmi_uninit_platform_driver(void) 888void hdmi_uninit_platform_driver(void)