patch-2.4.0-test2 linux/drivers/video/acornfb.c

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

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/video/acornfb.c linux/drivers/video/acornfb.c
@@ -669,20 +669,6 @@
 }
 
 static int
-acornfb_open(struct fb_info *info, int user)
-{
-	MOD_INC_USE_COUNT;
-	return 0;
-}
-
-static int
-acornfb_release(struct fb_info *info, int user)
-{
-	MOD_DEC_USE_COUNT;
-	return 0;
-}
-
-static int
 acornfb_getcolreg(u_int regno, u_int *red, u_int *green, u_int *blue,
 		  u_int *trans, struct fb_info *info)
 {
@@ -1133,15 +1119,14 @@
 }
 
 static struct fb_ops acornfb_ops = {
-	acornfb_open,
-	acornfb_release,
-	acornfb_get_fix,
-	acornfb_get_var,
-	acornfb_set_var,
-	acornfb_get_cmap,
-	acornfb_set_cmap,
-	acornfb_pan_display,
-	acornfb_ioctl
+	owner:		THIS_MODULE,
+	fb_get_fix:	acornfb_get_fix,
+	fb_get_var:	acornfb_get_var,
+	fb_set_var:	acornfb_set_var,
+	fb_get_cmap:	acornfb_get_cmap,
+	fb_set_cmap:	acornfb_set_cmap,
+	fb_pan_display:	acornfb_pan_display,
+	fb_ioctl:	acornfb_ioctl,
 };
 
 static int

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