patch-2.4.0-test2 linux/drivers/video/hpfb.c
Next file: linux/drivers/video/igafb.c
Previous file: linux/drivers/video/hitfb.c
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Tue Jun 20 14:14:51 2000
- Orig file:
v2.4.0-test1/linux/drivers/video/hpfb.c
- Orig date:
Tue Dec 7 09:32:46 1999
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/video/hpfb.c linux/drivers/video/hpfb.c
@@ -246,15 +246,6 @@
/* Not supported */
}
-static int hpfb_open(struct fb_info *info, int user)
-{
- /*
- * Nothing, only a usage count for the moment
- */
- MOD_INC_USE_COUNT;
- return(0);
-}
-
static void hpfb_set_disp(int con)
{
struct fb_fix_screeninfo fix;
@@ -281,22 +272,14 @@
display->dispsw = &fbcon_cfb8;
}
-static int hpfb_release(struct fb_info *info, int user)
-{
- MOD_DEC_USE_COUNT;
- return(0);
-}
-
static struct fb_ops hpfb_ops = {
- hpfb_open,
- hpfb_release,
- hpfb_get_fix,
- hpfb_get_var,
- hpfb_set_var,
- hpfb_get_cmap,
- hpfb_set_cmap,
- NULL,
- hpfb_ioctl
+ owner: THIS_MODULE,
+ fb_get_fix: hpfb_get_fix,
+ fb_get_var: hpfb_get_var,
+ fb_set_var: hpfb_set_var,
+ fb_get_cmap: hpfb_get_cmap,
+ fb_set_cmap: hpfb_set_cmap,
+ fb_ioctl: hpfb_ioctl,
};
#define TOPCAT_FBOMSB 0x5d
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)