Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4c9adb7 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

matrox: Remove legacy VIDIOC_*_OLD ioctls



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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1b149bbe
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -101,8 +101,6 @@

#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;