patch-2.4.0-test5 linux/drivers/video/sbusfb.c

Next file: linux/drivers/video/sgivwfb.c
Previous file: linux/drivers/video/sa1100fb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/video/sbusfb.c linux/drivers/video/sbusfb.c
@@ -85,8 +85,6 @@
 			struct fb_info *info);
 static int sbusfb_set_var(struct fb_var_screeninfo *var, int con,
 			struct fb_info *info);
-static int sbusfb_pan_display(struct fb_var_screeninfo *var, int con,
-			struct fb_info *info);
 static int sbusfb_get_cmap(struct fb_cmap *cmap, int kspc, int con,
 			struct fb_info *info);
 static int sbusfb_set_cmap(struct fb_cmap *cmap, int kspc, int con,
@@ -125,7 +123,6 @@
 	fb_set_var:	sbusfb_set_var,
 	fb_get_cmap:	sbusfb_get_cmap,
 	fb_set_cmap:	sbusfb_set_cmap,
-	fb_pan_display:	sbusfb_pan_display,
 	fb_ioctl:	sbusfb_ioctl,
 	fb_mmap:	sbusfb_mmap,
 };
@@ -399,21 +396,6 @@
        }
        return 0;
 
-}
-
-    /*
-     *  Pan or Wrap the Display
-     *
-     *  This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
-     */
-
-static int sbusfb_pan_display(struct fb_var_screeninfo *var, int con,
-			      struct fb_info *info)
-{
-	if (var->xoffset || var->yoffset)
-		return -EINVAL;
-	else
-		return 0;
 }
 
     /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)