patch-2.4.0-test2 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: 49
- Date:
Tue Jun 20 14:14:51 2000
- Orig file:
v2.4.0-test1/linux/drivers/video/fm2fb.c
- Orig date:
Fri Jan 28 15:09:08 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/video/fm2fb.c linux/drivers/video/fm2fb.c
@@ -183,8 +183,6 @@
* Interface used by the world
*/
-static int fm2fb_open(struct fb_info *info, int user);
-static int fm2fb_release(struct fb_info *info, int user);
static int fm2fb_get_fix(struct fb_fix_screeninfo *fix, int con,
struct fb_info *info);
static int fm2fb_get_var(struct fb_var_screeninfo *var, int con,
@@ -223,31 +221,15 @@
static struct fb_ops fm2fb_ops = {
- fm2fb_open, fm2fb_release, fm2fb_get_fix, fm2fb_get_var, fm2fb_set_var,
- fm2fb_get_cmap, fm2fb_set_cmap, fm2fb_pan_display, fm2fb_ioctl
+ owner: THIS_MODULE,
+ fb_get_fix: fm2fb_get_fix,
+ fb_get_var: fm2fb_get_var,
+ 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,
};
-
-
- /*
- * Open/Release the frame buffer device
- */
-
-static int fm2fb_open(struct fb_info *info, int user)
-{
- /*
- * Nothing, only a usage count for the moment
- */
-
- MOD_INC_USE_COUNT;
- return(0);
-}
-
-static int fm2fb_release(struct fb_info *info, int user)
-{
- MOD_DEC_USE_COUNT;
- return(0);
-}
-
/*
* Get the Fixed Part of the Display
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)