diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 11:37:36 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 17:28:49 +0100 |
commit | 7fa95f726aba6033d7baffcfda484c31b8cfe153 (patch) | |
tree | 924f8228c223b0f1c6365fdb541124f2b096f523 /drivers/sbus/char/vfc_dev.c | |
parent | [PATCH] struct path: convert s390 (diff) | |
download | linux-7fa95f726aba6033d7baffcfda484c31b8cfe153.tar.xz linux-7fa95f726aba6033d7baffcfda484c31b8cfe153.zip |
[PATCH] struct path: convert sbus
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 '')
-rw-r--r-- | drivers/sbus/char/vfc_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c index 55b2b31bd7ab..2722af5d3404 100644 --- a/drivers/sbus/char/vfc_dev.c +++ b/drivers/sbus/char/vfc_dev.c @@ -610,7 +610,7 @@ static int vfc_mmap(struct file *file, struct vm_area_struct *vma) unsigned int map_size, ret, map_offset; struct vfc_dev *dev; - dev = vfc_get_dev_ptr(iminor(file->f_dentry->d_inode)); + dev = vfc_get_dev_ptr(iminor(file->f_path.dentry->d_inode)); if(dev == NULL) return -ENODEV; |