summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/sn9c102
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2008-03-23 16:25:00 -0300
committerDouglas Schilling Landgraf <dougsland@gmail.com>2008-03-23 16:25:00 -0300
commit67937414624d3b3f65a0cc20237f0f580b395cdc (patch)
treeb675963d6cc353de7b7ab145060dbed03efc8507 /linux/drivers/media/video/sn9c102
parent9b2fc6e632ea78f1468b96849432b82c66645554 (diff)
downloadmediapointer-dvb-s2-67937414624d3b3f65a0cc20237f0f580b395cdc.tar.gz
mediapointer-dvb-s2-67937414624d3b3f65a0cc20237f0f580b395cdc.tar.bz2
[PATCH] add macro validation for v4l_compat_ioctl32.
From: Douglas Schilling Landgraf <dougsland@gmail.com> Added macro CONFIG_COMPAT for v4l_compat_ioctl32. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/sn9c102')
-rw-r--r--linux/drivers/media/video/sn9c102/sn9c102_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/sn9c102/sn9c102_core.c b/linux/drivers/media/video/sn9c102/sn9c102_core.c
index 5740518b0..2c5085df7 100644
--- a/linux/drivers/media/video/sn9c102/sn9c102_core.c
+++ b/linux/drivers/media/video/sn9c102/sn9c102_core.c
@@ -3228,7 +3228,9 @@ static const struct file_operations sn9c102_fops = {
.open = sn9c102_open,
.release = sn9c102_release,
.ioctl = sn9c102_ioctl,
+#ifdef CONFIG_COMPAT
.compat_ioctl = v4l_compat_ioctl32,
+#endif
.read = sn9c102_read,
.poll = sn9c102_poll,
.mmap = sn9c102_mmap,