aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/dss.c')
-rw-r--r--drivers/video/omap2/dss/dss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c
index 3a0655020252..c849d8bd5256 100644
--- a/drivers/video/omap2/dss/dss.c
+++ b/drivers/video/omap2/dss/dss.c
@@ -858,7 +858,6 @@ static const struct dev_pm_ops dss_pm_ops = {
858}; 858};
859 859
860static struct platform_driver omap_dsshw_driver = { 860static struct platform_driver omap_dsshw_driver = {
861 .probe = omap_dsshw_probe,
862 .remove = omap_dsshw_remove, 861 .remove = omap_dsshw_remove,
863 .driver = { 862 .driver = {
864 .name = "omapdss_dss", 863 .name = "omapdss_dss",
@@ -869,7 +868,7 @@ static struct platform_driver omap_dsshw_driver = {
869 868
870int dss_init_platform_driver(void) 869int dss_init_platform_driver(void)
871{ 870{
872 return platform_driver_register(&omap_dsshw_driver); 871 return platform_driver_probe(&omap_dsshw_driver, omap_dsshw_probe);
873} 872}
874 873
875void dss_uninit_platform_driver(void) 874void dss_uninit_platform_driver(void)