aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/istallion.c
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 05:36:55 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:44 -0500
commita7113a966241b700aecc7b8cb326cecb62e3c4b2 (patch)
treeb28920a82e7cad67ea6e55826e161ba0e4cf9782 /drivers/char/istallion.c
parent6c648be6f4183775679c1f2cc4d094128f104fb2 (diff)
[PATCH] struct path: convert char-drivers
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/char/istallion.c')
-rw-r--r--drivers/char/istallion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c
index 8f591945ebd9..b6f0d036a760 100644
--- a/drivers/char/istallion.c
+++ b/drivers/char/istallion.c
@@ -4194,7 +4194,7 @@ static ssize_t stli_memread(struct file *fp, char __user *buf, size_t count, lof
4194 void *p; 4194 void *p;
4195 loff_t off = *offp; 4195 loff_t off = *offp;
4196 4196
4197 brdnr = iminor(fp->f_dentry->d_inode); 4197 brdnr = iminor(fp->f_path.dentry->d_inode);
4198 if (brdnr >= stli_nrbrds) 4198 if (brdnr >= stli_nrbrds)
4199 return -ENODEV; 4199 return -ENODEV;
4200 brdp = stli_brds[brdnr]; 4200 brdp = stli_brds[brdnr];
@@ -4258,7 +4258,7 @@ static ssize_t stli_memwrite(struct file *fp, const char __user *buf, size_t cou
4258 void *p; 4258 void *p;
4259 loff_t off = *offp; 4259 loff_t off = *offp;
4260 4260
4261 brdnr = iminor(fp->f_dentry->d_inode); 4261 brdnr = iminor(fp->f_path.dentry->d_inode);
4262 4262
4263 if (brdnr >= stli_nrbrds) 4263 if (brdnr >= stli_nrbrds)
4264 return -ENODEV; 4264 return -ENODEV;