diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/compat_ioctl.h | 26 | ||||
-rw-r--r-- | include/linux/videodev2.h | 3 |
2 files changed, 3 insertions, 26 deletions
diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h index 119f9d064cc6..339878952f12 100644 --- a/include/linux/compat_ioctl.h +++ b/include/linux/compat_ioctl.h | |||
@@ -218,32 +218,6 @@ COMPATIBLE_IOCTL(VT_RESIZE) | |||
218 | COMPATIBLE_IOCTL(VT_RESIZEX) | 218 | COMPATIBLE_IOCTL(VT_RESIZEX) |
219 | COMPATIBLE_IOCTL(VT_LOCKSWITCH) | 219 | COMPATIBLE_IOCTL(VT_LOCKSWITCH) |
220 | COMPATIBLE_IOCTL(VT_UNLOCKSWITCH) | 220 | COMPATIBLE_IOCTL(VT_UNLOCKSWITCH) |
221 | /* Little v */ | ||
222 | /* Little v, the video4linux ioctls (conflict?) */ | ||
223 | COMPATIBLE_IOCTL(VIDIOCGCAP) | ||
224 | COMPATIBLE_IOCTL(VIDIOCGCHAN) | ||
225 | COMPATIBLE_IOCTL(VIDIOCSCHAN) | ||
226 | COMPATIBLE_IOCTL(VIDIOCGPICT) | ||
227 | COMPATIBLE_IOCTL(VIDIOCSPICT) | ||
228 | COMPATIBLE_IOCTL(VIDIOCCAPTURE) | ||
229 | COMPATIBLE_IOCTL(VIDIOCKEY) | ||
230 | COMPATIBLE_IOCTL(VIDIOCGAUDIO) | ||
231 | COMPATIBLE_IOCTL(VIDIOCSAUDIO) | ||
232 | COMPATIBLE_IOCTL(VIDIOCSYNC) | ||
233 | COMPATIBLE_IOCTL(VIDIOCMCAPTURE) | ||
234 | COMPATIBLE_IOCTL(VIDIOCGMBUF) | ||
235 | COMPATIBLE_IOCTL(VIDIOCGUNIT) | ||
236 | COMPATIBLE_IOCTL(VIDIOCGCAPTURE) | ||
237 | COMPATIBLE_IOCTL(VIDIOCSCAPTURE) | ||
238 | /* BTTV specific... */ | ||
239 | COMPATIBLE_IOCTL(_IOW('v', BASE_VIDIOCPRIVATE+0, char [256])) | ||
240 | COMPATIBLE_IOCTL(_IOR('v', BASE_VIDIOCPRIVATE+1, char [256])) | ||
241 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+2, unsigned int)) | ||
242 | COMPATIBLE_IOCTL(_IOW('v' , BASE_VIDIOCPRIVATE+3, char [16])) /* struct bttv_pll_info */ | ||
243 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+4, int)) | ||
244 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+5, int)) | ||
245 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+6, int)) | ||
246 | COMPATIBLE_IOCTL(_IOR('v' , BASE_VIDIOCPRIVATE+7, int)) | ||
247 | /* Little p (/dev/rtc, /dev/envctrl, etc.) */ | 221 | /* Little p (/dev/rtc, /dev/envctrl, etc.) */ |
248 | COMPATIBLE_IOCTL(RTC_AIE_ON) | 222 | COMPATIBLE_IOCTL(RTC_AIE_ON) |
249 | COMPATIBLE_IOCTL(RTC_AIE_OFF) | 223 | COMPATIBLE_IOCTL(RTC_AIE_OFF) |
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 1cded681eb6d..13f78ec4bf76 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -1117,6 +1117,9 @@ typedef int (*v4l2_kioctl)(struct inode *inode, struct file *file, | |||
1117 | unsigned int cmd, void *arg); | 1117 | unsigned int cmd, void *arg); |
1118 | int v4l_compat_translate_ioctl(struct inode *inode, struct file *file, | 1118 | int v4l_compat_translate_ioctl(struct inode *inode, struct file *file, |
1119 | int cmd, void *arg, v4l2_kioctl driver_ioctl); | 1119 | int cmd, void *arg, v4l2_kioctl driver_ioctl); |
1120 | /* 32 Bits compatibility layer for 64 bits processors */ | ||
1121 | extern long v4l_compat_ioctl32(struct file *file, unsigned int cmd, | ||
1122 | unsigned long arg); | ||
1120 | 1123 | ||
1121 | #endif /* __KERNEL__ */ | 1124 | #endif /* __KERNEL__ */ |
1122 | #endif /* __LINUX_VIDEODEV2_H */ | 1125 | #endif /* __LINUX_VIDEODEV2_H */ |