]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/bfin-t350mcqb-fb.c
device create: framebuffer: convert device_create to device_create_drvdata
[linux-2.6-omap-h63xx.git] / drivers / video / bfin-t350mcqb-fb.c
index f36ca7f6d8a0a50e3f4af1d4f81fb8fbe2c4855c..135d6dd7e6729ded15706dcc16a2f78a68086e5e 100644 (file)
@@ -302,7 +302,7 @@ static int bfin_t350mcqb_fb_mmap(struct fb_info *info, struct vm_area_struct *vm
         *   Other flags can be set, and are documented in
         *   include/linux/mm.h
         */
-       vma->vm_flags |= VM_MAYSHARE;
+       vma->vm_flags |= VM_MAYSHARE | VM_SHARED;
 
        return 0;
 }