diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:49 -0500 |
commit | 7fa95f726aba6033d7baffcfda484c31b8cfe153 (patch) | |
tree | 924f8228c223b0f1c6365fdb541124f2b096f523 /drivers/sbus/char/vfc_dev.c | |
parent | d20343e7406a114a561030e683fafc4fdbc9c6bd (diff) |
[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 'drivers/sbus/char/vfc_dev.c')
-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) | |||
610 | unsigned int map_size, ret, map_offset; | 610 | unsigned int map_size, ret, map_offset; |
611 | struct vfc_dev *dev; | 611 | struct vfc_dev *dev; |
612 | 612 | ||
613 | dev = vfc_get_dev_ptr(iminor(file->f_dentry->d_inode)); | 613 | dev = vfc_get_dev_ptr(iminor(file->f_path.dentry->d_inode)); |
614 | if(dev == NULL) | 614 | if(dev == NULL) |
615 | return -ENODEV; | 615 | return -ENODEV; |
616 | 616 | ||