aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf-core.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-13 08:25:24 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-13 09:58:59 -0700
commit13bcd5d0e21e3ca726965371ada8ff6c64af288f (patch)
tree4303cab73cfe0534ebe7e749bfb4aa28f8a5f777 /drivers/media/video/videobuf-core.c
parent2b8232ce512105e28453f301d1510de8363bccd1 (diff)
downloadkernel_samsung_smdk4412-13bcd5d0e21e3ca726965371ada8ff6c64af288f.zip
kernel_samsung_smdk4412-13bcd5d0e21e3ca726965371ada8ff6c64af288f.tar.gz
kernel_samsung_smdk4412-13bcd5d0e21e3ca726965371ada8ff6c64af288f.tar.bz2
v4l: copy_to_user() is not a good method name
Breaks on any target that has copy_to_user() defined as a non-trivial macro. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media/video/videobuf-core.c')
-rw-r--r--drivers/media/video/videobuf-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c
index c606332..5599a36 100644
--- a/drivers/media/video/videobuf-core.c
+++ b/drivers/media/video/videobuf-core.c
@@ -674,7 +674,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q,
}
/* Copy to userspace */
- retval=CALL(q,copy_to_user,q,data,count,nonblocking);
+ retval=CALL(q,video_copy_to_user,q,data,count,nonblocking);
if (retval<0)
goto done;