]> err.no Git - linux-2.6/blobdiff - drivers/video/bf54x-lq043fb.c
gxfb: use PCI_DEVICE() for gxfb's pci device table
[linux-2.6] / drivers / video / bf54x-lq043fb.c
index 986a550c043926a3d867728f1f824a220cd4b5e1..eefba3d0e4b9e52291d46de30cb71d223b87d951 100644 (file)
@@ -384,7 +384,7 @@ static int bfin_bf54x_fb_mmap(struct fb_info *info, struct vm_area_struct *vma)
         *   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;
 }