[PATCH] struct path: convert isapnp
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>
This commit is contained in:
parent
7808841442
commit
b23463b9b9
|
@ -56,7 +56,7 @@ static loff_t isapnp_proc_bus_lseek(struct file *file, loff_t off, int whence)
|
|||
|
||||
static ssize_t isapnp_proc_bus_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
|
||||
{
|
||||
struct inode *ino = file->f_dentry->d_inode;
|
||||
struct inode *ino = file->f_path.dentry->d_inode;
|
||||
struct proc_dir_entry *dp = PDE(ino);
|
||||
struct pnp_dev *dev = dp->data;
|
||||
int pos = *ppos;
|
||||
|
|
Loading…
Reference in New Issue