diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 11:37:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 17:28:50 +0100 |
commit | 723731b2eef6599cf09af1fbfe0b12857b439e2d (patch) | |
tree | 967dbe38d2de0c8a490ed956d25ff3900abe23f3 /drivers/media/video/videodev.c | |
parent | [PATCH] struct path: convert usb (diff) | |
download | linux-723731b2eef6599cf09af1fbfe0b12857b439e2d.tar.xz linux-723731b2eef6599cf09af1fbfe0b12857b439e2d.zip |
[PATCH] struct path: convert v4l
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r-- | drivers/media/video/videodev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c index d424a4129d69..41ec0c4b35a2 100644 --- a/drivers/media/video/videodev.c +++ b/drivers/media/video/videodev.c @@ -105,7 +105,7 @@ static DEFINE_MUTEX(videodev_lock); struct video_device* video_devdata(struct file *file) { - return video_device[iminor(file->f_dentry->d_inode)]; + return video_device[iminor(file->f_path.dentry->d_inode)]; } /* |