V4L/DVB: drivers/media/video: Remove dead CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE
authorChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Wed, 14 Jul 2010 13:21:30 +0000 (10:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 19:42:54 +0000 (16:42 -0300)
CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE doesn't exist in Kconfig and is never defined anywhere
else, therefore removing all references for it from the source code.

Signed-off-by: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap/omap_vout.c

index 929073e792c904717014070d37802faa67c4d9e9..4ed51b1552e1afdf7d8017412db95a047e91821e 100644 (file)
@@ -2545,19 +2545,11 @@ static int __init omap_vout_probe(struct platform_device *pdev)
                        /* set the update mode */
                        if (def_display->caps &
                                        OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
-#ifdef CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE
-                               if (dssdrv->enable_te)
-                                       dssdrv->enable_te(def_display, 1);
-                               if (dssdrv->set_update_mode)
-                                       dssdrv->set_update_mode(def_display,
-                                                       OMAP_DSS_UPDATE_AUTO);
-#else  /* MANUAL_UPDATE */
                                if (dssdrv->enable_te)
                                        dssdrv->enable_te(def_display, 0);
                                if (dssdrv->set_update_mode)
                                        dssdrv->set_update_mode(def_display,
                                                        OMAP_DSS_UPDATE_MANUAL);
-#endif
                        } else {
                                if (dssdrv->set_update_mode)
                                        dssdrv->set_update_mode(def_display,