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

Next file: linux/drivers/video/matrox/matroxfb_accel.c
Previous file: linux/drivers/video/leofb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/video/macfb.c linux/drivers/video/macfb.c
@@ -830,19 +830,6 @@
 	return 0;
 }
 
-static int macfb_ioctl(struct inode *inode, struct file *file,
-		       unsigned int cmd, unsigned long arg, int con,
-		       struct fb_info *info)
-{
-	return -EINVAL;
-}
-
-static int macfb_pan_display(struct fb_var_screeninfo *var, int con,
-			     struct fb_info *info)
-{
-	return -EINVAL;
-}
-
 static struct fb_ops macfb_ops = {
 	owner:		THIS_MODULE,
 	fb_get_fix:	macfb_get_fix,
@@ -850,8 +837,6 @@
 	fb_set_var:	macfb_set_var,
 	fb_get_cmap:	macfb_get_cmap,
 	fb_set_cmap:	macfb_set_cmap,
-	fb_pan_display:	macfb_pan_display,
-	fb_ioctl:	macfb_ioctl,
 };
 
 void macfb_setup(char *options, int *ints)

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