aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/v4l2-compat-ioctl32.c1
-rw-r--r--drivers/media/video/v4l2-ioctl.c5
-rw-r--r--include/linux/videodev2.h10
3 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/video/v4l2-compat-ioctl32.c b/drivers/media/video/v4l2-compat-ioctl32.c
index 110376be5d2b..0056b115b42e 100644
--- a/drivers/media/video/v4l2-compat-ioctl32.c
+++ b/drivers/media/video/v4l2-compat-ioctl32.c
@@ -1047,7 +1047,6 @@ long v4l2_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
1047 case VIDIOC_DBG_S_REGISTER: 1047 case VIDIOC_DBG_S_REGISTER:
1048 case VIDIOC_DBG_G_REGISTER: 1048 case VIDIOC_DBG_G_REGISTER:
1049 case VIDIOC_DBG_G_CHIP_IDENT: 1049 case VIDIOC_DBG_G_CHIP_IDENT:
1050 case VIDIOC_G_CHIP_IDENT_OLD:
1051 case VIDIOC_S_HW_FREQ_SEEK: 1050 case VIDIOC_S_HW_FREQ_SEEK:
1052 ret = do_video_ioctl(file, cmd, arg); 1051 ret = do_video_ioctl(file, cmd, arg);
1053 break; 1052 break;
diff --git a/drivers/media/video/v4l2-ioctl.c b/drivers/media/video/v4l2-ioctl.c
index 583f9c158e63..df8d1ff1a577 100644
--- a/drivers/media/video/v4l2-ioctl.c
+++ b/drivers/media/video/v4l2-ioctl.c
@@ -1692,11 +1692,6 @@ static long __video_do_ioctl(struct file *file,
1692 dbgarg(cmd, "chip_ident=%u, revision=0x%x\n", p->ident, p->revision); 1692 dbgarg(cmd, "chip_ident=%u, revision=0x%x\n", p->ident, p->revision);
1693 break; 1693 break;
1694 } 1694 }
1695 case VIDIOC_G_CHIP_IDENT_OLD:
1696 printk(KERN_ERR "VIDIOC_G_CHIP_IDENT has been deprecated and will disappear in 2.6.30.\n");
1697 printk(KERN_ERR "It is a debugging ioctl and must not be used in applications!\n");
1698 return -EINVAL;
1699
1700 case VIDIOC_S_HW_FREQ_SEEK: 1695 case VIDIOC_S_HW_FREQ_SEEK:
1701 { 1696 {
1702 struct v4l2_hw_freq_seek *p = arg; 1697 struct v4l2_hw_freq_seek *p = arg;
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 11b8b3ec77b4..78ba0755ffb3 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -1412,14 +1412,6 @@ struct v4l2_dbg_chip_ident {
1412 __u32 revision; /* chip revision, chip specific */ 1412 __u32 revision; /* chip revision, chip specific */
1413} __attribute__ ((packed)); 1413} __attribute__ ((packed));
1414 1414
1415/* VIDIOC_G_CHIP_IDENT_OLD: Deprecated, do not use */
1416struct v4l2_chip_ident_old {
1417 __u32 match_type; /* Match type */
1418 __u32 match_chip; /* Match this chip, meaning determined by match_type */
1419 __u32 ident; /* chip identifier as specified in <media/v4l2-chip-ident.h> */
1420 __u32 revision; /* chip revision, chip specific */
1421};
1422
1423/* 1415/*
1424 * I O C T L C O D E S F O R V I D E O D E V I C E S 1416 * I O C T L C O D E S F O R V I D E O D E V I C E S
1425 * 1417 *
@@ -1497,8 +1489,6 @@ struct v4l2_chip_ident_old {
1497/* Experimental, meant for debugging, testing and internal use. 1489/* Experimental, meant for debugging, testing and internal use.
1498 Never use this ioctl in applications! */ 1490 Never use this ioctl in applications! */
1499#define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident) 1491#define VIDIOC_DBG_G_CHIP_IDENT _IOWR('V', 81, struct v4l2_dbg_chip_ident)
1500/* This is deprecated and will go away in 2.6.30 */
1501#define VIDIOC_G_CHIP_IDENT_OLD _IOWR('V', 81, struct v4l2_chip_ident_old)
1502#endif 1492#endif
1503 1493
1504#define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek) 1494#define VIDIOC_S_HW_FREQ_SEEK _IOW('V', 82, struct v4l2_hw_freq_seek)