]> err.no Git - linux-2.6/blobdiff - drivers/video/bfin-t350mcqb-fb.c
alpha: Fix breakage in wdt_pci
[linux-2.6] / drivers / video / bfin-t350mcqb-fb.c
index f36ca7f6d8a0a50e3f4af1d4f81fb8fbe2c4855c..7d1b819e501c780f4e9ddc1929ac8d155d633148 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;
 }
@@ -396,7 +396,7 @@ static int bfin_lcd_set_contrast(struct lcd_device *dev, int contrast)
        return 0;
 }
 
-static int bfin_lcd_check_fb(struct fb_info *fi)
+static int bfin_lcd_check_fb(struct lcd_device *dev, struct fb_info *fi)
 {
        if (!fi || (fi == &bfin_t350mcqb_fb))
                return 1;