summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran_procfs.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 02:37:47 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:28:50 -0800
commit723731b2eef6599cf09af1fbfe0b12857b439e2d (patch)
tree967dbe38d2de0c8a490ed956d25ff3900abe23f3 /drivers/media/video/zoran_procfs.c
parent33cb89940082c54f348062db2f8bab6cf8fed816 (diff)
downloadblackbird-op-linux-723731b2eef6599cf09af1fbfe0b12857b439e2d.tar.gz
blackbird-op-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/zoran_procfs.c')
-rw-r--r--drivers/media/video/zoran_procfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/zoran_procfs.c b/drivers/media/video/zoran_procfs.c
index c7f6f6488360..c374c76b3753 100644
--- a/drivers/media/video/zoran_procfs.c
+++ b/drivers/media/video/zoran_procfs.c
@@ -144,7 +144,7 @@ static int zoran_open(struct inode *inode, struct file *file)
static ssize_t zoran_write(struct file *file, const char __user *buffer,
size_t count, loff_t *ppos)
{
- struct zoran *zr = PDE(file->f_dentry->d_inode)->data;
+ struct zoran *zr = PDE(file->f_path.dentry->d_inode)->data;
char *string, *sp;
char *line, *ldelim, *varname, *svar, *tdelim;
@@ -165,7 +165,7 @@ static ssize_t zoran_write(struct file *file, const char __user *buffer,
}
string[count] = 0;
dprintk(4, KERN_INFO "%s: write_proc: name=%s count=%zu zr=%p\n",
- ZR_DEVNAME(zr), file->f_dentry->d_name.name, count, zr);
+ ZR_DEVNAME(zr), file->f_path.dentry->d_name.name, count, zr);
ldelim = " \t\n";
tdelim = "=";
line = strpbrk(sp, ldelim);
OpenPOWER on IntegriCloud