summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-20 10:30:32 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 22:03:04 -0300
commitd715e766ddf4786a06abe6a841e956ad8a875963 (patch)
tree54785eb04145a565b14f080dae807fbeea145525 /include/media
parentbe383bd312c4defab8bd4bde8c06fea5bfe0996b (diff)
downloadop-kernel-dev-d715e766ddf4786a06abe6a841e956ad8a875963.zip
op-kernel-dev-d715e766ddf4786a06abe6a841e956ad8a875963.tar.gz
V4L/DVB (5905): ivtv-fb: Use proper ioctl value
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ivtv-fb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/media/ivtv-fb.h b/include/media/ivtv-fb.h
index 902b2f3..3b746f5 100644
--- a/include/media/ivtv-fb.h
+++ b/include/media/ivtv-fb.h
@@ -23,13 +23,12 @@
/* Framebuffer external API */
-struct ivtvfb_ioctl_dma_host_to_ivtv_args {
+struct ivtvfb_dma_frame {
void __user *source;
unsigned long dest_offset;
int count;
};
-/* Framebuffer ioctls should use the range 1 - 28 */
-#define IVTVFB_IOCTL_PREP_FRAME _IOW('@', 3, struct ivtvfb_ioctl_dma_host_to_ivtv_args)
+#define IVTVFB_IOC_DMA_FRAME _IOW ('V', BASE_VIDIOC_PRIVATE+0, struct ivtvfb_dma_frame)
#endif
OpenPOWER on IntegriCloud