]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pnp/isapnp/proc.c
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
[linux-2.6-omap-h63xx.git] / drivers / pnp / isapnp / proc.c
index 958c11bedd0d66da73e35de1d7d02f3760aaf91f..d21f3c1e72fc1fed3066e71e5674a799c8951bfd 100644 (file)
@@ -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;