[PATCH] struct path: convert zorro
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
ad9a824e00
commit
b3d7ae5f47
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue