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

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

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/video/offb.c linux/drivers/video/offb.c
@@ -83,14 +83,10 @@
 			struct fb_info *info);
 static int offb_set_var(struct fb_var_screeninfo *var, int con,
 			struct fb_info *info);
-static int offb_pan_display(struct fb_var_screeninfo *var, int con,
-			struct fb_info *info);
 static int offb_get_cmap(struct fb_cmap *cmap, int kspc, int con,
 			struct fb_info *info);
 static int offb_set_cmap(struct fb_cmap *cmap, int kspc, int con,
 			struct fb_info *info);
-static int offb_ioctl(struct inode *inode, struct file *file, u_int cmd,
-			    u_long arg, int con, struct fb_info *info);
 
 extern boot_infos_t *boot_infos;
 
@@ -127,8 +123,6 @@
 	fb_set_var:	offb_set_var,
 	fb_get_cmap:	offb_get_cmap,
 	fb_set_cmap:	offb_set_cmap,
-	fb_pan_display:	offb_pan_display,
-	fb_ioctl:	offb_ioctl,
 };
 
     /*
@@ -200,21 +194,6 @@
 
 
     /*
-     *  Pan or Wrap the Display
-     *
-     *  This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
-     */
-
-static int offb_pan_display(struct fb_var_screeninfo *var, int con,
-			    struct fb_info *info)
-{
-    if (var->xoffset || var->yoffset)
-	return -EINVAL;
-    else
-	return 0;
-}
-
-    /*
      *  Get the Colormap
      */
 
@@ -256,13 +235,6 @@
     else
 	fb_copy_cmap(cmap, &fb_display[con].cmap, kspc ? 0 : 1);
     return 0;
-}
-
-
-static int offb_ioctl(struct inode *inode, struct file *file, u_int cmd,
-		      u_long arg, int con, struct fb_info *info)
-{
-    return -EINVAL;
 }
 
 

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