DRM: HDLCD: Enable compat IOCTL for 32-bit userspace.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 7 Aug 2014 15:42:40 +0000 (16:42 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 7 Aug 2014 15:44:25 +0000 (16:44 +0100)
32-bit userspace should be able to use double buffering in the
same way native binaries do, so enable it.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_fb.c

index 5165ece..95f8dca 100644 (file)
@@ -403,6 +403,7 @@ static struct fb_ops hdlcd_fb_ops = {
        .fb_pan_display = drm_fb_helper_pan_display,
        .fb_setcmap = drm_fb_helper_setcmap,
        .fb_ioctl = hdlcd_fb_ioctl,
+       .fb_compat_ioctl = hdlcd_fb_ioctl,
        .fb_mmap = hdlcd_fb_mmap,
 };