diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 2 | ||||
-rw-r--r-- | drivers/media/video/v4l2-ioctl.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index 09a75abcb478..4bae38d21ef6 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c | |||
@@ -1830,7 +1830,7 @@ static long ivtv_serialized_ioctl(struct ivtv *itv, struct file *filp, | |||
1830 | 1830 | ||
1831 | if (ivtv_debug & IVTV_DBGFLG_IOCTL) | 1831 | if (ivtv_debug & IVTV_DBGFLG_IOCTL) |
1832 | vfd->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; | 1832 | vfd->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; |
1833 | ret = video_ioctl2_unlocked(filp, cmd, arg); | 1833 | ret = __video_ioctl2(filp, cmd, arg); |
1834 | vfd->debug = 0; | 1834 | vfd->debug = 0; |
1835 | return ret; | 1835 | return ret; |
1836 | } | 1836 | } |
diff --git a/drivers/media/video/v4l2-ioctl.c b/drivers/media/video/v4l2-ioctl.c index 5b3e251b9396..710e1a40c422 100644 --- a/drivers/media/video/v4l2-ioctl.c +++ b/drivers/media/video/v4l2-ioctl.c | |||
@@ -1768,7 +1768,7 @@ static int __video_do_ioctl(struct file *file, | |||
1768 | return ret; | 1768 | return ret; |
1769 | } | 1769 | } |
1770 | 1770 | ||
1771 | int video_ioctl2(struct inode *inode, struct file *file, | 1771 | int __video_ioctl2(struct file *file, |
1772 | unsigned int cmd, unsigned long arg) | 1772 | unsigned int cmd, unsigned long arg) |
1773 | { | 1773 | { |
1774 | char sbuf[128]; | 1774 | char sbuf[128]; |
@@ -1860,11 +1860,11 @@ out: | |||
1860 | kfree(mbuf); | 1860 | kfree(mbuf); |
1861 | return err; | 1861 | return err; |
1862 | } | 1862 | } |
1863 | EXPORT_SYMBOL(video_ioctl2); | 1863 | EXPORT_SYMBOL(__video_ioctl2); |
1864 | 1864 | ||
1865 | long video_ioctl2_unlocked(struct file *file, | 1865 | int video_ioctl2(struct inode *inode, struct file *file, |
1866 | unsigned int cmd, unsigned long arg) | 1866 | unsigned int cmd, unsigned long arg) |
1867 | { | 1867 | { |
1868 | return video_ioctl2(file->f_path.dentry->d_inode, file, cmd, arg); | 1868 | return __video_ioctl2(file, cmd, arg); |
1869 | } | 1869 | } |
1870 | EXPORT_SYMBOL(video_ioctl2_unlocked); | 1870 | EXPORT_SYMBOL(video_ioctl2); |