aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/omapfb/omapfb-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb-main.c')
-rw-r--r--drivers/video/omap2/omapfb/omapfb-main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c
index 216ed80293b8..b0adfb5915c8 100644
--- a/drivers/video/omap2/omapfb/omapfb-main.c
+++ b/drivers/video/omap2/omapfb/omapfb-main.c
@@ -2206,14 +2206,14 @@ static int omapfb_probe(struct platform_device *pdev)
2206 /* set the update mode */ 2206 /* set the update mode */
2207 if (def_display->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) { 2207 if (def_display->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
2208#ifdef CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE 2208#ifdef CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE
2209 if (def_display->enable_te) 2209 if (def_display->driver->enable_te)
2210 def_display->enable_te(def_display, 1); 2210 def_display->driver->enable_te(def_display, 1);
2211 if (def_display->set_update_mode) 2211 if (def_display->set_update_mode)
2212 def_display->set_update_mode(def_display, 2212 def_display->set_update_mode(def_display,
2213 OMAP_DSS_UPDATE_AUTO); 2213 OMAP_DSS_UPDATE_AUTO);
2214#else /* MANUAL_UPDATE */ 2214#else /* MANUAL_UPDATE */
2215 if (def_display->enable_te) 2215 if (def_display->driver->enable_te)
2216 def_display->enable_te(def_display, 0); 2216 def_display->driver->enable_te(def_display, 0);
2217 if (def_display->set_update_mode) 2217 if (def_display->set_update_mode)
2218 def_display->set_update_mode(def_display, 2218 def_display->set_update_mode(def_display,
2219 OMAP_DSS_UPDATE_MANUAL); 2219 OMAP_DSS_UPDATE_MANUAL);