diff options
| -rw-r--r-- | drivers/video/bf54x-lq043fb.c | 2 | ||||
| -rw-r--r-- | drivers/video/bfin-t350mcqb-fb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index 986a550c0439..eefba3d0e4b9 100644 --- a/drivers/video/bf54x-lq043fb.c +++ b/drivers/video/bf54x-lq043fb.c | |||
| @@ -384,7 +384,7 @@ static int bfin_bf54x_fb_mmap(struct fb_info *info, struct vm_area_struct *vma) | |||
| 384 | * Other flags can be set, and are documented in | 384 | * Other flags can be set, and are documented in |
| 385 | * include/linux/mm.h | 385 | * include/linux/mm.h |
| 386 | */ | 386 | */ |
| 387 | vma->vm_flags |= VM_MAYSHARE; | 387 | vma->vm_flags |= VM_MAYSHARE | VM_SHARED; |
| 388 | 388 | ||
| 389 | return 0; | 389 | return 0; |
| 390 | } | 390 | } |
diff --git a/drivers/video/bfin-t350mcqb-fb.c b/drivers/video/bfin-t350mcqb-fb.c index f36ca7f6d8a0..135d6dd7e672 100644 --- a/drivers/video/bfin-t350mcqb-fb.c +++ b/drivers/video/bfin-t350mcqb-fb.c | |||
| @@ -302,7 +302,7 @@ static int bfin_t350mcqb_fb_mmap(struct fb_info *info, struct vm_area_struct *vm | |||
| 302 | * Other flags can be set, and are documented in | 302 | * Other flags can be set, and are documented in |
| 303 | * include/linux/mm.h | 303 | * include/linux/mm.h |
| 304 | */ | 304 | */ |
| 305 | vma->vm_flags |= VM_MAYSHARE; | 305 | vma->vm_flags |= VM_MAYSHARE | VM_SHARED; |
| 306 | 306 | ||
| 307 | return 0; | 307 | return 0; |
| 308 | } | 308 | } |
