matrox: Remove legacy VIDIOC_*_OLD ioctls
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 1 Mar 2011 11:17:47 +0000 (08:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:38 +0000 (20:32 -0300)
Those ioctls were produced by the wrong arguments for _IO macros,
and were replaced by fixed versions on an early 2.6 kernel.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/video/matrox/matroxfb_base.c

index a082debe824b9969bf3cb76018d638471b6700ae..8c9dbac9dc1b1f6fcc113674551ea2ee0e959661 100644 (file)
 
 #include <linux/version.h>
 
-#define __OLD_VIDIOC_
-
 #include "matroxfb_base.h"
 #include "matroxfb_misc.h"
 #include "matroxfb_accel.h"
@@ -1152,7 +1150,6 @@ static int matroxfb_ioctl(struct fb_info *info,
                                        return -EFAULT;
                                return err;
                        }
-               case VIDIOC_S_CTRL_OLD:
                case VIDIOC_S_CTRL:
                        {
                                struct v4l2_control ctrl;