git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB (7402): add macro validation for v4l_compat_ioctl32
[safe/jmp/linux-2.6]
/
drivers
/
media
/
video
/
cpia.c
diff --git
a/drivers/media/video/cpia.c
b/drivers/media/video/cpia.c
index
7c630f5
..
2a81376
100644
(file)
--- a/
drivers/media/video/cpia.c
+++ b/
drivers/media/video/cpia.c
@@
-3792,7
+3792,9
@@
static const struct file_operations cpia_fops = {
.read = cpia_read,
.mmap = cpia_mmap,
.ioctl = cpia_ioctl,
+#ifdef CONFIG_COMPAT
.compat_ioctl = v4l_compat_ioctl32,
+#endif
.llseek = no_llseek,
};