Merge branch 'parisc' from /home/kyle/repos/parisc-2.6.git
[sfrench/cifs-2.6.git] / drivers / zorro / proc.c
index 7aa2d3de6d37d3378a96378c520c2ac5fef276a2..60b05bc1564254ab49af9c6b284d96888828e7bb 100644 (file)
@@ -47,7 +47,7 @@ proc_bus_zorro_lseek(struct file *file, loff_t off, int whence)
 static ssize_t
 proc_bus_zorro_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 zorro_dev *z = dp->data;
        struct ConfigDev cd;