diff options
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb-ioctl.c')
-rw-r--r-- | drivers/video/omap2/omapfb/omapfb-ioctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-ioctl.c b/drivers/video/omap2/omapfb/omapfb-ioctl.c index 6deabb94fd31..cb2e3432618d 100644 --- a/drivers/video/omap2/omapfb/omapfb-ioctl.c +++ b/drivers/video/omap2/omapfb/omapfb-ioctl.c | |||
@@ -732,12 +732,13 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg) | |||
732 | break; | 732 | break; |
733 | } | 733 | } |
734 | 734 | ||
735 | if (!display->enable_te) { | 735 | if (!display->driver->enable_te) { |
736 | r = -ENODEV; | 736 | r = -ENODEV; |
737 | break; | 737 | break; |
738 | } | 738 | } |
739 | 739 | ||
740 | r = display->enable_te(display, !!p.tearsync_info.enabled); | 740 | r = display->driver->enable_te(display, |
741 | !!p.tearsync_info.enabled); | ||
741 | 742 | ||
742 | break; | 743 | break; |
743 | } | 744 | } |