diff options
-rw-r--r-- | drivers/pnp/isapnp/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/isapnp/proc.c b/drivers/pnp/isapnp/proc.c index 958c11bedd0d..d21f3c1e72fc 100644 --- a/drivers/pnp/isapnp/proc.c +++ b/drivers/pnp/isapnp/proc.c | |||
@@ -56,7 +56,7 @@ static loff_t isapnp_proc_bus_lseek(struct file *file, loff_t off, int whence) | |||
56 | 56 | ||
57 | static ssize_t isapnp_proc_bus_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) | 57 | static ssize_t isapnp_proc_bus_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) |
58 | { | 58 | { |
59 | struct inode *ino = file->f_dentry->d_inode; | 59 | struct inode *ino = file->f_path.dentry->d_inode; |
60 | struct proc_dir_entry *dp = PDE(ino); | 60 | struct proc_dir_entry *dp = PDE(ino); |
61 | struct pnp_dev *dev = dp->data; | 61 | struct pnp_dev *dev = dp->data; |
62 | int pos = *ppos; | 62 | int pos = *ppos; |