diff options
Diffstat (limited to 'drivers/video/omap2/dss/hdmi.c')
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 3 |
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 | ||
874 | static struct platform_driver omapdss_hdmihw_driver = { | 874 | static 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 | ||
884 | int hdmi_init_platform_driver(void) | 883 | int 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 | ||
889 | void hdmi_uninit_platform_driver(void) | 888 | void hdmi_uninit_platform_driver(void) |