patch-2.4.0-test5 linux/drivers/video/fm2fb.c
Next file: linux/drivers/video/g364fb.c
Previous file: linux/drivers/video/fbmem.c
Back to the patch index
Back to the overall index
- Lines: 60
- Date:
Wed Jul 26 11:08:40 2000
- Orig file:
v2.4.0-test4/linux/drivers/video/fm2fb.c
- Orig date:
Fri Jun 23 21:55:10 2000
diff -u --recursive --new-file v2.4.0-test4/linux/drivers/video/fm2fb.c linux/drivers/video/fm2fb.c
@@ -189,14 +189,10 @@
struct fb_info *info);
static int fm2fb_set_var(struct fb_var_screeninfo *var, int con,
struct fb_info *info);
-static int fm2fb_pan_display(struct fb_var_screeninfo *var, int con,
- struct fb_info *info);
static int fm2fb_get_cmap(struct fb_cmap *cmap, int kspc, int con,
struct fb_info *info);
static int fm2fb_set_cmap(struct fb_cmap *cmap, int kspc, int con,
struct fb_info *info);
-static int fm2fb_ioctl(struct inode *inode, struct file *file, u_int cmd,
- u_long arg, int con, struct fb_info *info);
/*
@@ -227,8 +223,6 @@
fb_set_var: fm2fb_set_var,
fb_get_cmap: fm2fb_get_cmap,
fb_set_cmap: fm2fb_set_cmap,
- fb_pan_display: fm2fb_pan_display,
- fb_ioctl: fm2fb_ioctl,
};
/*
@@ -293,21 +287,6 @@
/*
- * Pan or Wrap the Display
- *
- * This call looks only at xoffset, yoffset and the FB_VMODE_YWRAP flag
- */
-
-static int fm2fb_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
*/
@@ -342,13 +321,6 @@
} else
fb_copy_cmap(cmap, &fb_display[con].cmap, kspc ? 0 : 1);
return 0;
-}
-
-
-static int fm2fb_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)